Quote:
Originally Posted by
summer_cherry
hi KKC,
please you double quote <"> instead of single quote <'> in your sed command, then it should be ok.
sorry i can't get you mean,
i wanted add on such like
print "what is your directory : ";
then the answer is storing to
&inName
and the sed will replace the &inName to ${METRICA_DIR}/TechnologyPacks/Spool/2030324032
sed 's|${METRICA_DIR}/TechnologyPacks/Spool/2030324032|$inName|g' $file
Thanks in advance