Quick question on awk usage

Ed Wilts ewilts at ewilts.org
Tue Jun 27 16:51:35 UTC 2006


On Tue, Jun 27, 2006 at 11:08:29AM -0400, Bliss, Aaron wrote:
> All set, figured it out
> 
> cat filename | awk '{ if ($14 == 528) print }' 

You don't need to cat the filename first.  Add the filename to the end
of the command - man awk for help.

        .../Ed

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the redhat-list mailing list