Search Results

Search: Posts Made By: Don Cragun
1,573
Posted By Don Cragun
What happened when you tried it? It doesn't...
What happened when you tried it?

It doesn't store anything. The NR==1 section of the code replaces the header for the specified fields on the 1st input line it reads. Then, the condition 1 with...
1,573
Posted By Don Cragun
The sample input you provided is not tab...
The sample input you provided is not tab delimited. If your real input is tab delimited and you just want to set the headers for certain fields, the easy way would be something like:
awk '
BEGIN...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 06:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy