Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!ut-emx!ibmchs!auschs!d75!exeter.austin.ibm.com!woan From: woan@exeter.austin.ibm.com (Ronald S Woan) Newsgroups: comp.unix.aix Subject: Easy(?) problem for shell script writers Summary: xargs? Message-ID: <3896@d75.UUCP> Date: 10 May 91 15:31:35 GMT References: <1991May9.151138.21246@uvm.edu> Sender: news@d75.UUCP Reply-To: woan@cactus.org Organization: Austin School of Hardknocks Lines: 15 In article <1991May9.151138.21246@uvm.edu> moore@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@cactus.org or woan@austin.vnet.ibm.com + + other email addresses Prodigy: XTCR74A Compuserve: 73530,2537 +