Friday, October 29, 2010
Sunday, October 10, 2010
guess the awk(gawk) command
gawk '{ if ( $1 ~ /start/) { print "process start!" ; for ( i in freq) {print i, freq[i] } delete freq } else freq[$1]++ }' tmp.out > new.out
What did it do?
What did it do?
Subscribe to:
Posts (Atom)