767 reputation
1514
bio website
location Tampa, FL
age 32
visits member for 3 years, 2 months
seen Oct 2 at 20:48

Quality Assurance Engineer at Syniverse


Nov
11
awarded  Nice Question
Sep
30
awarded  Yearling
Sep
5
comment Compare 2 tab delimited files and output differences with column header
@cmart2112 You're welcome. The header array has those values. If you print header[1] you can refer back to column1.
Sep
5
answered Compare 2 tab delimited files and output differences with column header
Aug
13
comment Insert new line after non matching pattern
+1: Though better to add awk -F: 'a!~$1 && NR>1{print x}a=$1' file to prevent the empty first line.
Aug
11
awarded  Vox Populi
Aug
11
awarded  Suffrage
Jun
16
awarded  Constituent
Jun
9
awarded  Caucus
May
29
revised How to keep record of previous operation results in awk?
added 14 characters in body
May
29
revised How to keep record of previous operation results in awk?
added 862 characters in body
May
28
revised How to keep record of previous operation results in awk?
deleted 6 characters in body
May
28
answered How to keep record of previous operation results in awk?
May
9
awarded  Famous Question
Apr
18
comment I'm trying to count and print song file names using awk as following
FNR==1{next}{a[$5]+=1} can be written in a more awkish way as NR>1{a[$5]+=1}.
Mar
16
comment grep change of line followed by a variable
grep --no-group-separator -A1 '!' inputFile | grep -v '!' would be better.
Mar
16
comment grep change of line followed by a variable
Thanks @devnull. Yea, I was pretty much certain what I had in earlier was what OP wanted until a new answer came in which completely threw my understanding of the question. So went with both! :)
Mar
16
revised grep change of line followed by a variable
added 294 characters in body
Mar
16
answered grep change of line followed by a variable
Mar
14
answered awk remove the rows based on another column value