[vlc-devel] Ho can I use variables inside --sout '<parameter-list>' commands?

David Liontooth liontooth at cogweb.net
Wed Mar 29 00:27:23 CEST 2006


I'm having a problem passing variables in bash scripts to commands like 
this:

     vlc $1 -I dummy --sout '#std{access=mmsh,dst=:$PORT}' --ttl 12 --loop

How do I keep $PORT from being interpreted as a string? dst=$FILE would 
be another use.

I'm sorry to ask a bash question here, but VLC has a distinctive way of 
passing parameters and I was hoping there is a well-known solution.

David

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list