Easy(?) problem for shell script writers

Ronald S Woan woan at exeter.austin.ibm.com
Sat May 11 01:31:35 AEST 1991


In article <1991May9.151138.21246 at uvm.edu> moore at emily.uvm.edu (Bryan Moore) writes:
>I want to do a 'ps | fgrep $1' where $1 is each of the above
>strings, but obviously the above is incorrect. 

ps | awk whatever | xargs -t -i fgrep {}

might do it...



-- 
+-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+
+------------------------------My Employer----------------------------------+
+ Ronald S. Woan                woan at cactus.org or woan at austin.vnet.ibm.com +
+ other email addresses             Prodigy: XTCR74A Compuserve: 73530,2537 +



More information about the Comp.unix.aix mailing list