怎么用sed -e替换文本中的内容
awk-F'=''{print$2}'/home/sjtm/PARAM/tmparam.txtsed-i-e"s/$1/$enddate/"/home/sjtm/PARA...
awk -F '=' '{print $2}' /home/sjtm/PARAM/tmparam.txt
sed -i -e "s/$1/$enddate/" /home/sjtm/PARAM/tmparam.txt
这是我写的命令,但是执行的时候报错
sed: -e expression #1, char 0: no previous regular expression
怎么解决? 展开
sed -i -e "s/$1/$enddate/" /home/sjtm/PARAM/tmparam.txt
这是我写的命令,但是执行的时候报错
sed: -e expression #1, char 0: no previous regular expression
怎么解决? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询