Thursday, October 29, 2009

if else in awk

awk 'BEGIN{print max=0}{ if ( 10 > 12 ) print "h"; else print k;} {print $1}' dummy.dum

No comments: