<quote who="Terry Collins"> > Can someone explain this? > > [EMAIL PROTECTED]:/spam-hold/spam-hold$ find /spam -name smtpdAB* > -print %p
The problem is your escaping of smtpdAB* - as it is, the expression will be expanded by the caller and find will actually receive a list of matching files/dirs in the current directory. You want to put smtpdAB* in quotes, or escape the wildcard so that the string 'smtpdAB*' is passed to find, rather than the list of matching files/dirs. find /spam -name 'smtpdAB*' -print %p or find /spam -name smtpdAB\* -print %p should do the trick. J. -- Jan Schmidt [EMAIL PROTECTED] Pants Pants Pants Pants Pants Pants Pants Pants. Lovely Pants, wonderful Pa-ants. Lovely Pants, wonderful Pa-ants. (Shut up! Bloody Vikings.) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html