[PD-ot] using "-send" and shell-variables

IOhannes m zmoelnig zmoelnig at iem.at
Mon Mar 13 15:31:52 CET 2006


hi

any bash-gurus out there?

i want to make a little script like

<script>
 #!/bin/sh
 OPTIONS='-send "pd quit"'
 pd ${OPTIONS}
</script>

unfortunately the shell-expansions seems to screw up my mind, and thus i
always get the following error:
<error>
 tried /tmp/quit" and failed
 open: No such file or directory
 No such file or directory
 error: "pd: no such object
</error>

obviously, the i get the quotes wrong, however, i don't seem to able to
get it right.

adding fun, i need double-quotes rather than single-quotes (in order to
set the send-message dynamically)

any quick help appreciated

mfg.adsr.
IOhannes




More information about the PD-ot mailing list