Thread: AWK syntax
hello,
quick awk question. can't find out how online. i've searched through many, many "awk one-liner" pages!
have code does
now works fine, know how in 1 awk command.code:awk '{print $4/10}' getpdb | head -1
but doesn't work.code:awk '{print $4/10}/&&/$nr==1/' getpdb
realize might seem trivial, know how it. don't use pipes "|" unless have to.
time!
dave
i got on this. it?
code:awk '{print $4/10; exit}' getpdb
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk AWK syntax
Ubuntu
,
Comments
Post a Comment