(Solaris 2.6 with Korn Shell) I have a tool called foo. I want to execute it so that the quotes used in the command are retained. Is this possible? So my usage would be:
foo -s "1 2 3"
and I'd like @ARGV to have:
-s, "1 2 3"
As it is, @ARGV has:
-s, 1 2 3
is this just because of the shell? I can do this:
foo -s '"1 2 3"'
but who wants to do that right?
Thanks for helping me understand.
In reply to command line and quotes by skerr1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |