[PD-ot] using "-send" and shell-variables
IOhannes m zmoelnig
zmoelnig at iem.at
Mon Mar 13 15:45:27 CET 2006
IOhannes m zmoelnig wrote:
> 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
a workaround for my problem seems to be to give the send-message
explicitely and in quotes. like:
<script>
#!/bin/sh
OPTIONS="-rt -open ${PATCH}"
MSG="pd quit"
pd ${OPTIONS} -send "${MSG}"
</scrip>
leaving the MSG empty doesn't do anything (which is good).
however, i would like a cleaner solution (where the entire
options-string is built dynamically)
mfg.asd.r
IOhannes
More information about the PD-ot
mailing list