Path: 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 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