[SLUG] find crapping itself

2003-12-10 Thread Terry Collins
Okay, this has bothered me for ages and I'm finally asking if anyone can explain why does find sometimes crap itself over certain paths. eg find /opt/spool/smtpd/spam -name smtpd00* find: paths must preceed expressions I usally do some work acound. I think it requires me to move to another

Re: [SLUG] find crapping itself

2003-12-10 Thread John Clarke
On Thu, Dec 11, 2003 at 12:43:25 +1100, Terry Collins wrote: find /opt/spool/smtpd/spam -name smtpd00* find: paths must preceed expressions There are at least two files matching 'smtpd00*' in your current directory and your shell is expanding the wildcard. *Always* escape or quote wildcards

Re: [SLUG] find crapping itself

2003-12-10 Thread John Clarke
On Thu, Dec 11, 2003 at 01:17:36 +1100, Benno wrote: On Thu Dec 11, 2003 at 12:55:46 +1100, John Clarke wrote: The shell will only pass them unchanged if it can't find a match. And some shells (like my zsh setup) don't even do that. What does it do instead? Cheers, John -- whois

Re: [SLUG] find crapping itself

2003-12-10 Thread Benno
On Thu Dec 11, 2003 at 13:27:33 +1100, John Clarke wrote: On Thu, Dec 11, 2003 at 01:17:36 +1100, Benno wrote: On Thu Dec 11, 2003 at 12:55:46 +1100, John Clarke wrote: The shell will only pass them unchanged if it can't find a match. And some shells (like my zsh setup) don't even do that.

Re: [SLUG] find crapping itself

2003-12-10 Thread Jan Schmidt
quote who=John Clarke On Thu, Dec 11, 2003 at 01:17:36 +1100, Benno wrote: On Thu Dec 11, 2003 at 12:55:46 +1100, John Clarke wrote: The shell will only pass them unchanged if it can't find a match. And some shells (like my zsh setup) don't even do that. What does it do instead?