Closed lukdz closed 1 year ago
can you please show examples of what the output is?
(and good morning, thanks a lot for that contribution :p i forgot to be polite!)
Hi,
Example of execution of pipe
with identical arguments but different debug implementation:
echo
doesn't show where pipe_cmd
argument starts and ends;
user doesn't know if /jcr:root...
is interpreted as a part of pipe_cmd
or the next curl
argument
set -x
with single quotes show where pipe_cmd
argument starts and ends;
user does know that /jcr:root...
is interpreted as a part of pipe_cmd
bump
Thank you for approval.
Description
set -x
, which does show how command arguments are split;echo
outputs values without quotes, which makes it difficult to debug arguments split by incorrectly escaped whitespacesRelated Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: