On Sun, Feb 27, 2011 at 06:52:36AM +0000, Stroller wrote:
> AIUI using `find /my/folder -name foo*.txt` (i.e. unquoted) the shell will 
> pass the * to find if it can't expand it itself.

Not necessarily true. 

On bash if you set the 'nullglob' option, if the shell can't find the
file the word will be removed. If you set the 'failglob' character,
the command will quit with an error if the shell can't complete the
path expansion. 

I expect there to be similar options in other shells. 

W
-- 
Willie W. Wong                                     ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
         et vice versa   ~~~  I. Newton

Reply via email to