Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hplabs!hpcc05!col!greiner From: greiner@col.hp.com (Mike Greiner) Newsgroups: comp.unix.shell Subject: Re: Can U pipe filenames to rm??? Message-ID: <28790002@col.hp.com> Date: 28 Sep 90 23:07:43 GMT References: <28790001@col.hp.com> Organization: HP Colorado Springs Division Lines: 17 Thanks to all who emailed me the solution to this problem! For the benefit of anyone who might be curious, here's one answer: ninstall -h $1 -vvvvv -p $2 | grep path | cut -d " " -f4 | xargs rm ^^^^^^^^^^ The xargs utility passes the input lines to the rm command as parameters--just what I was after. Thanks again! --Mike ############################# # Mike Greiner # # Information Technology # # Hewlett-Packard # # Colorado Springs Division # # greiner@col.hp.com # #############################