1 |
On Sun, Feb 27, 2011 at 06:52:36AM +0000, Stroller wrote: |
2 |
> 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. |
3 |
|
4 |
Not necessarily true. |
5 |
|
6 |
On bash if you set the 'nullglob' option, if the shell can't find the |
7 |
file the word will be removed. If you set the 'failglob' character, |
8 |
the command will quit with an error if the shell can't complete the |
9 |
path expansion. |
10 |
|
11 |
I expect there to be similar options in other shells. |
12 |
|
13 |
W |
14 |
-- |
15 |
Willie W. Wong wwong@××××××××××××××.edu |
16 |
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire |
17 |
et vice versa ~~~ I. Newton |