1
araraloren 2018-10-10 11:43:05 +08:00
冒号??????
|
2
rihoko OP @araraloren “”写错抱歉
|
3
rihoko OP 抱歉是“”中间的值
|
4
blankme 2018-10-10 11:46:40 +08:00
sed 用 double quotes 会自动扩展环境变量
export url="127.0.0.1"; sed -i "s/\".*\"/\"$url\"/g" yourfile |
7
able 2018-10-10 11:52:07 +08:00
sed "s/\".*\"/\"$url\"/g"
|