[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Globbing



| > say rm *.^(aux dvi log toc idx ind) for example.
| 
| use rm -f.

Yuck.  Suppose the command was tar instead of rm?  My intuition is
that globbing should return the empty list in the case of no matches.

But speaking of feeping creatures and kludgy workarounds, what do you
think about the shell putting the (unglobbed) command line in an
environment variable?  Then commands that want to do their own globbing
would be able to.