On Mon, 20 Feb 2012 07:09:08 -0200, Iain Mott wrote
Hi list,
I have a script that needs to disconnect various jack connections. Works
fine with client/port names without spaces, like this:
jack_disconnect pure_data_0:output0 system:playback_1
Other port names (specifically, ALSA MIDI port names) however have
spaces in them and don't seem to work with jack_disconnect. Have
tried putting quotes around the names, eg.
jack_disconnect 'Pure Data:PureData Midi-Out 1' 'Hammerfall DSP:HDSP
MIDI 1'
and
jack_disconnect 'Pure Data':'PureData Midi-Out 1' 'Hammerfall
DSP':'HDSP
MIDI 1'
Why would you quote it like this? Shouldn't it be
jack_disconnect 'Pure Data:PureData Midi-Out 1' ....
With your way of quoting the shell would pass three arguments
('Pure Data', ':' and 'PureData Midi-Out 1') to jack_disconnect.
Cheers, Ralf Mattes
--
R. Mattes -
Hochschule fuer Musik Freiburg
rm(a)inm.mh-freiburg.de