Search Results

Search: Posts Made By: scandy
9,212
Posted By Scrutinizer
You could feed the files twice, like so: awk -f...
You could feed the files twice, like so:
awk -f test.awk test*.txt test*.txt
Then you can test if the second round of files is coming like so for example:
FILENAME==ARGV[1] &&...
9,212
Posted By ctsgnb
$ cat myawk BEGIN{ FS = ","; OFS =...
$ cat myawk
BEGIN{
FS = ",";
OFS = "\t";
glbcnt[""]=0;
glbacc[""]=0;
glbprcn[""]=0;
}
{
k[$1]=$2
e[$1":"NR]=$3
n=NR
}
END{
print...
Showing results 1 to 2 of 2

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