[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Quick question on awk usage



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 ewilts org
Member #1, Red Hat Community Ambassador Program



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]