is anyone successfully using 's or `s or "s with shell.pd_linux? trying to figure out how it is supposed to operate, all of these commands work with shell.dll on winXP and when pasted into a bash rxvt on either platform...
[bash -c "echo hi" (
hi": -c: line 0: unexpected EOF while looking for matching "' hi": -c: line 1: syntax error: unexpected end of file [bash -c 'echo hi' ( hi': -c: line 0: unexpected EOF while looking for matching
''
hi': -c: line 1: syntax error: unexpected end of file
[find "echo /root/
" (
find: "echo: No such file or directory find: /root/
": No such file or directory
[find "/root/" (
find: "/root/": No such file or directory
it looks like theres an extra level of escaping somewhere...any way to stop that without rewriting shell.c ? i am using m_atom.c from msp version, since the devel version has a hack that adds a \ before spaces on the way out and the way in, so multiple passes and you end up with \ \\\ \ \ \ \\\ really quickly....
On Thu, 12 Aug 2004, cdr wrote:
is anyone successfully using 's or `s or "s with shell.pd_linux? trying to figure out how it is supposed to operate, all of these commands work with shell.dll on winXP and when pasted into a bash rxvt on either platform...
This should be fixed in the CVS version. I mostly use shell in order to fire up shell scripts, as the pd parser makes several symbols that are important in scripts unusable directly.
Greetings
Guenter
[bash -c "echo hi" ( hi": -c: line 0: unexpected EOF while looking for matching
"' hi": -c: line 1: syntax error: unexpected end of file [bash -c 'echo hi' ( hi': -c: line 0: unexpected EOF while looking for matching
'' hi': -c: line 1: syntax error: unexpected end of file [find "echo /root/
" ( find: "echo: No such file or directory find: /root/
": No such file or directory [find "/root/" ( find: "/root/": No such file or directoryit looks like theres an extra level of escaping somewhere...any way to stop that without rewriting shell.c ? i am using m_atom.c from msp version, since the devel version has a hack that adds a \ before spaces on the way out and the way in, so multiple passes and you end up with \ \\\ \ \ \ \\\ really quickly....
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list