🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1299

Re: Can U pipe filenames to rm???

#1299
From: Peter da Silva
Date: Mon, 01 Oct 1990 21:57
15 lines
998 bytes
In article <1990Sep29.001151.11544@diku.dk> kimcm@diku.dk (Kim Christian Madsen) writes:
> If you're sure the output of the ninstall does not exceed the limit of
> what the shell you're using can handle...

> 	ninstall .... | xargs rm

> However, if the filelist from ninstall et al. does exceed the shell buffer...

	ninstall .... | xargs rm

xargs will split the commandline into chunks the shell will handle.
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.   'U`
peter@ferranti.com
Technical Details
Message-ID: <0K46FZB@xds13.ferranti.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!ficc!peter
References: <28790001@col.hp.com> <1990Sep29.001151.11544@diku.dk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!ficc!peter
From: peter@ficc.ferranti.com (Peter da Silva)
Newsgroups: comp.unix.shell
Subject: Re: Can U pipe filenames to rm???
Message-ID: <0K46FZB@xds13.ferranti.com>
Date: 1 Oct 90 21:57:18 GMT
References: <28790001@col.hp.com> <1990Sep29.001151.11544@diku.dk>
Reply-To: peter@ficc.ferranti.com (Peter da Silva)
Organization: Xenix Support, FICC
Lines: 11