html tool

2017年8月7日星期一

sed shell 参数

$x="xx"
$cat logConfig.cfg |sed  "s/#/$x/g"
#使用双引号即可,单引号不支持传递变量

没有评论:

发表评论