🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1287

Re: Can U pipe filenames to rm???

#1287
From: Wm E. Davidsen Jr
Date: Sun, 30 Sep 1990 03:00
14 lines
979 bytes
In article <28790001@col.hp.com> greiner@col.hp.com (Mike Greiner) writes:

| Now I want to pipe the output of this command into rm.  Here's the output:

  I think what you want is the xargs routine, which may not be available
on your system but is on most.

Example:
  find {{stuff here}} -print | xargs rm -f
-- 
bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
    sysop *IX BBS and Public Access UNIX
    moderator of comp.binaries.ibm.pc and 80386 mailing list
"Stupidity, like virtue, is its own reward" -me
Technical Details
Message-ID: <1977@sixhub.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!crdgw1!sixhub!davidsen
References: <28790001@col.hp.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!crdgw1!sixhub!davidsen
From: davidsen@sixhub.UUCP (Wm E. Davidsen Jr)
Newsgroups: comp.unix.shell
Subject: Re: Can U pipe filenames to rm???
Message-ID: <1977@sixhub.UUCP>
Date: 30 Sep 90 03:00:39 GMT
References: <28790001@col.hp.com>
Reply-To: davidsen@sixhub.UUCP (bill davidsen)
Organization: *IX Public Access UNIX, Schenectady NY
Lines: 14