On 22 May 2002, C. Linus Hicks wrote:

> On Tue, 2002-05-21 at 17:30, Ed Wilts wrote:
> > On Tue, May 21, 2002 at 01:55:40PM -0700, Samuel Flory wrote:
> > > This should always work `find * -exec rm {} \;`
> > 
> > Nope.  As long as you include an unquoted * on the command line, it
> > should fail.  Not verified, but since every other bash command that
> > expands the * fails, I would expect this to fail too.
> > 
> > This might work:
> > 
> > find . -name '*' -exec rm {} \;
> > 
> > Again, not tested, but the other solutions are cleaner anyway.
> 
> Why not just:
> 
> find . -exec rm {} \;

what is with this ongoing obsession to take a perfectly good
solution and suggest poorer alternatives?  find and xargs has
been presented.  it works.  leave it at that already.  sheesh.

rday



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to