in reply to Problems with String::ShellQuote
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problems with String::ShellQuote
by hippo (Archbishop) on Aug 18, 2022 at 22:08 UTC | |
|
Re^2: Problems with String::ShellQuote
by NERDVANA (Priest) on Aug 19, 2022 at 20:59 UTC | |
by afoken (Chancellor) on Aug 20, 2022 at 13:48 UTC | |
by NERDVANA (Priest) on Aug 20, 2022 at 14:52 UTC |