我使用下面的代码替换shell脚本中的字符串.
echo $LINE | sed -e 's/12345678/"$replace"/g'
但它正在被替换$replace而不是该变量的值.
$replace
谁有人说出了什么问题?
unix shell sed
sed ×1
shell ×1
unix ×1