首页 > 解决方案 > bash shell 执行

问题描述

我在用

sed-snv

没有什么对我有用

标签: bashsed

解决方案


-i 标志仅在 GNU Sed 中。

cat file | tr ']' '[' > temp
mv temp file

以上应该对你有用。


推荐阅读