使用道具 举报
Post by gzyui 先是单引号,然后双引号,把$var引用起来 sed -e 's/^max_leases.*/max_leases '"$var"'/' filename
本版积分规则 发表回复 回帖后跳转到最后一页