[Gllug] Variable substitutuion in bash

Amit Muthu amuthu at venda.com
Thu Sep 30 12:46:43 UTC 2004


music at audio:/media/music/test> oggenc adj.wav -q 0 -o

>"./processed/10cc.ogg" $comments
>ERROR: Multiple input files with specified output filename: suggest 
>using -n
>music at audio:/media/music/test>
>  
>

Perhaps:

cmd="oggenc adj.wav -q 0 -o ./processed/10cc.ogg $comments"

eval $cmd

would do what you want?

Cheers,
Amit
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list