Re: jack_disconnect on ports with spaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux