/schemata/mereni/SI_FZU/plot.awk |
---|
1,12 → 1,17 |
#!/usr/bin/awk -f |
# reports which file is being read |
BEGIN { |
f="";r+0; |
f=""; |
val=""; |
} |
#{ if (f != FILENAME) { |
#print "reading", FILENAME;NR=0; |
#f=FILENAME; |
#} |
/Bias/ {r += NR} |
{if (NR >= r) print $1,$2; |
{ |
if (f != FILENAME) { |
print "reading", FILENAME; |
do { |
if (FNR >= 43) data[$1] = data[$1] OFS $2; |
f=FILENAME; |
} while (getline != 0); |
} |
} |
END{for(val in data) print data[val];} |