Remember that statement in String::ShellQuote?
shell_quote quotes strings so they can be passed through the shell. Each string is quoted so that the shell will pass it along as a single argument and without further interpretation.
Reading https://www.in-ulm.de/~mascheck/bourne/ shows another problem when trying to quote for bourne shells in a way that data is passed unmodified:
The 7th edition Unix shell (the one that does not know #) is not 8-bit clean, it uses the 8th bit internally for quoting, and sometimes forgets to clean that bit.
Bash before 1.13 also used the 8th bit internally for quoting.
Alexander
In reply to Re: Problems with String::ShellQuote
by afoken
in thread Problems with String::ShellQuote
by afoken
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |