Steve wrote:
>If I try to play a song from a script like this:
>
>song="/home/s/MyMusic/mohmp3/enya.mp3"
>mplayer "$song"
>
>It does not work. From the cmdline I can type
>
>mplayer /home/s/MyMusic/mohmp3/enya.mp3
>
>it plays fine.
>
>
try:
export song="/home/s/MyMusic/mohmp3/enya.mp3"
mplayer $song
Note the 'export' and the lack of quotes around $song.
--ronan
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:04:34 EDT