Awk script Usage description linux/unix help page

Posted by Jiltin     Tags: , , , 20 November, 2008    6,813 views    (0) Comment

AWK syntax: awk [-Fs] “program” [file1 file2...] # commands come from DOS cmdline awk ‘program{print “foo”}’ file1 # single quotes around double quotes # NB: Don’t use single quotes alone if the embedded info will contain the # vertical bar or redirection arrows! Either use double quotes, or (if # using 4DOS) use backticks around the single quotes: `’NF>1′` # NB: since awk will accept single quotes around arguments Read Full Article (Click here)...

Categories : Scripts Unix Tags : , , ,