[NTLUG:Discuss] Script question
Rick Matthews
Rick at Matthews.net
Sun Jan 6 07:07:42 CST 2002
Steve Baker wrote:
> However, your shell is evidently set to treat unmatched wildcards
> literally. I think that's a BAD way to set up your shell. If you
> have files created with asterisks in their names, you can get into
> all kinds of nasty problems...and nobody *ever* really wants it to
> do that.
> Most shell programs let you choose which of these behaviours you
> want. Do a 'man bash' and look for 'nullglob' for an explanation.
> There are lots of options for setting this behaviour in various shells
> that Linux supports.
Thanks for the information. I'm currently running RH 7.1 and I don't
remember making a choice to operate in the way you describe (and I
typically choose the default when I don't understand the options).
I'm wading through the bash control files; thanks again for the tip.
Rick Matthews
More information about the Discuss
mailing list