[PD] shell.pd_linux syntqax

cdr ix at replic.net
Thu Aug 12 08:53:48 CEST 2004


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....




More information about the Pd-list mailing list