Awk
Change column according to previous line with conditions
I have files with the format: ATOM3736CBTHR A 486-6.552 153.891-7.9221.00115.15C ATOM3737OG1 THR A 486-6.756 154.842-6.8661.00114.94O[详细]
2023-03-31 14:53 分类:问答Using awk to iterate through list of files?
I\'m pretty unfamiliar with awk, but I am looking f开发者_开发知识库or a way to iterate through all files in a directory and execute a simple awk command. My command is a simple substitution that repl[详细]
2023-03-31 09:03 分类:问答Run awk file from shell script without specifying awk's exact location
I\'m trying to debug a shell script that calls an awk file.Which is a nightmare, cause I\'ve never used either before, nor am I very fluent with linux, but anyway[详细]
2023-03-31 04:57 分类:问答Add leading zeroes to awk variable
I have the following awk command within a \"for\" loop in bash: awk -v pdb=\"$pdb\" \'BEGIN {file = 1; filename = pdb\"_\" file \".pdb\"}[详细]
2023-03-31 01:44 分类:问答Performance issue with parsing large log files (~5gb) using awk, grep, sed
I am currently dealing with log files with sizes approx. 5gb.I\'m quite new to parsing log files and using UNIX bash, so I\'ll try to be as precise as possible.While searching through log files, I do[详细]
2023-03-31 00:59 分类:问答Are there any AWK syntax checkers?
Are there any AWK syntax checkers? I\'m interested in both minimal checkers that only flag syntax errors and more extensive checkers along the lines of lint.[详细]
2023-03-30 08:15 分类:问答sed - inserting a comma after every 4th line in plain text file
I am trying to insert a comma after the values on line 1, 4, 8, etc using sed, sed \'0-4 s/$/,/\' in.txt > in2.txt[详细]
2023-03-30 05:08 分类:问答AWK working with variables, not files
I read this post, but I cannot figure out how to make what I need. I have a variable, which is a path, so I would like to have the name of the file (last column if I separate by /).[详细]
2023-03-30 02:36 分类:问答How to match a column name and find out the column position in awk?
I am trying to parse some csv files using awk. I am new to s开发者_运维技巧hell scripting and awk.[详细]
2023-03-29 22:58 分类:问答How do I get all statistics-related information from a file, using awk?
I am trying to parse some CSV files using awk. The CSV file I am working with looks like this: fnName,minAccessTime,maxAccessTime[详细]
2023-03-29 14:12 分类:问答