Bug in quote-stripping for ACL and CCL in ASDF:RUN-SHELL-COMMAND
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ASDF |
Fix Released
|
Low
|
Faré |
Bug Description
ASDF mistakenly strips out quotes nested inside shell command strings in RUN-SHELL-COMMAND. The following three examples make this clear:
1. ACL with embedded double-quotes:
CL-USER(3): (let ((asdf:
; $ echo "Writing to standard output."
; Writing
0
[looks like we also add an extra newline in ASDF-MESSAGE, but that's not a huge problem...]
2. By comparison, embedded single quotes work properly:
CL-USER(2): (let ((asdf:
; $ echo 'Writing to standard output.'
; Writing to standard output.
0
3. And embedded double quotes work properly on SBCL:
CL-USER(1): (let ((asdf:
; $ echo "Writing to standard output."
Writing to standard output.
0
[interestingly, no extra newlines in here, either]
I have just verified that CCL has the same problem, which is not surprising, since on CCL as well as ACL, the command is passed as a separate argument, using -c, to the shell.