2.sed "s/$a/$b/" filename3.sed ’s/’$a’/’$b’/’ filename 4.sed s/$a/$b/ filename
在sed中引入shell变量的四种方法
原文:https://www.cnblogs.com/lkj371/p/14067770.html