Hello,
I have spent some time reading AWK ref mtl and searching your FAQ, but no luck yet.
I have a one liner used to pull $1 from my INPUT file and write to single line of OUTPUT file seperating with ",".
This works great, but I would like my OUTPUT to only have 24 entries of $1 then go to /n and continue writing.
Help please,
Chris
I have spent some time reading AWK ref mtl and searching your FAQ, but no luck yet.
I have a one liner used to pull $1 from my INPUT file and write to single line of OUTPUT file seperating with ",".
Code:
awk '{ORS=","} ("$1"!="Case") {print $1}' INPUT > OUTPUT
This works great, but I would like my OUTPUT to only have 24 entries of $1 then go to /n and continue writing.
Help please,
Chris