[LAU] jack_disconnect on ports with spaces

R. Mattes rm at mh-freiburg.de
Mon Feb 20 10:22:47 UTC 2012


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 at inm.mh-freiburg.de



More information about the Linux-audio-user mailing list