G
glen herrmannsfeldt
(snip on quoting, globbing, and otherwise command line processing)
I wonder how many users of Apple OS X have never opened a command
window, and have no idea about globbing and quoting.
Even more, Mac users more than other systems like putting spaces
in file names, which require escaping or quoting even without
globbing.
-- glen
It seems to me that placing quotes around the argument *is* a good way
of handling it. Any program run from a command line and requiring
arguments will have to be specified and given that unix users are
inclined to read man pages and to ask a program itself for --help, it is
a simple thing to say "if you wish to use -f with wildcards, and don't
want the shell expansion, surround the argument with quotes". However,
_most_ unix users will know this already.
I wonder how many users of Apple OS X have never opened a command
window, and have no idea about globbing and quoting.
Even more, Mac users more than other systems like putting spaces
in file names, which require escaping or quoting even without
globbing.
-- glen