1

launchin a program with several files through terminal expansion problem

view story
linux-howto

http://askubuntu.com – I'm making a program that launches vlc with a set of files saved in a variable. But it doesn't work it seems to have a problem with the names, what is weird (for me) is that in the end the problem is summed up by this: echo $LAUNCHER #"/home/.../file1.m4a" "/home/.../file2.m4a" vlc $LAUNCHER vlc $(echo $LAUNCHER) #Doesn't work vlc "/home/.../file1.m4a" "/home/.../file2.m4a" # Works!! So what am I doing wrong? By the way I need the quotes for the spaced named files Thanks (HowTos)