A question about shell scripts.
Hi:
Code:
CODECSDIR=${CODECSDIR:-/usr/lib/codecs} EDIT: also, when I am in the prompt, echo $CODECSDIR outputs nothing. |
Because $CODECSDIR didn't exist yet it has been assigned a deafult value.
http://tldp.org/LDP/abs/html/refcards.html#AEN22008 Code:
jlinkels@jlinkels-lt:/tmp$ CODECSDIR=${CODECSDIR:-/usr/lib/codecs} |
Thank you. Your post has been very useful. Regards.
|
All times are GMT -5. The time now is 10:28 PM. |