29
Jun
Posted by
Jemshad O K Category:
General
####[ GNU/Linux One Stanza Tip (LOST) ]#######################
Sub : awk tips [#12] LOST #472
# Count number of lines where col 3 > col 1
$ awk ‘$3 > $1 {print i + “1″; i++}’ textfile
####[banduji (at) symonds.net]################################

Tags:
linux,
lost,
tips,
tricks
Related posts