首页 > 代码库 > sed如何引用shell脚本的参数

sed如何引用shell脚本的参数

sed -e ‘s/pattern/ ‘"$1"‘ /‘ file

sed如何引用shell脚本的参数