Re: [LAU] jack_disconnect on ports with spaces

From: R. Mattes <rm@email-addr-hidden-freiburg.de>
Date: Mon Feb 20 2012 - 12:22:47 EET

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@email-addr-hidden-freiburg.de
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Feb 20 12:15:04 2012

This archive was generated by hypermail 2.1.8 : Mon Feb 20 2012 - 12:15:04 EET