Re: find(1) manpage caveats section

2011-02-09 Thread Otto Moerbeek
On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote: In the caveats section it states the following: Passing the output of find to other programs requires some care: $ find . -name \*.jpg | xargs rm or $ rm `find . -name \*.jpg` would,

Re: find(1) manpage caveats section

2011-02-09 Thread Clint Pachl
Subtle; and what a caveat it is. Thanks Paul and Otto for setting me straight. Paul de Weerd wrote: On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote: | In the caveats section it states the following: | | | Passing the output of find to other programs requires some care: | |

Re: find(1) manpage caveats section

2011-02-09 Thread Ingo Schwarze
Hi Otto, Otto Moerbeek wrote on Wed, Feb 09, 2011 at 09:43:54AM +0100: On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote: In the caveats section it states the following: Passing the output of find to other programs requires some care: $ find . -name \*.jpg |

find(1) manpage caveats section

2011-02-08 Thread Clint Pachl
In the caveats section it states the following: Passing the output of find to other programs requires some care: $ find . -name \*.jpg | xargs rm or $ rm `find . -name \*.jpg` would, given files ``important .jpg'' and ``important'', remove

Re: find(1) manpage caveats section

2011-02-08 Thread Paul de Weerd
On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote: | In the caveats section it states the following: | | | Passing the output of find to other programs requires some care: | |$ find . -name \*.jpg | xargs rm | or |$ rm `find . -name \*.jpg` | |