Hello,
I have a shell script that processes a Microsoft like PATH environment variable. I want to add some folders to it.
export current=`eval $NTPATH`
export additional=`cat path.lst`
export NTPATH=$current\;$additional
echo $NTPATH
The first statement fails when either a blanc appears in $NTPATH or the combination '\c' or '\b' (like in ...\bin or ...\common)
Does anybody know how I can avoid this special character substitution on the first command ?
Best regards,
Luc
I have a shell script that processes a Microsoft like PATH environment variable. I want to add some folders to it.
export current=`eval $NTPATH`
export additional=`cat path.lst`
export NTPATH=$current\;$additional
echo $NTPATH
The first statement fails when either a blanc appears in $NTPATH or the combination '\c' or '\b' (like in ...\bin or ...\common)
Does anybody know how I can avoid this special character substitution on the first command ?
Best regards,
Luc