sed 修改文件中的行

https://www.cnblogs.com/Hackerman/p/9516115.html

https://blog.csdn.net/chaehom/article/details/7800367

sed -i "s/num-detected-classes=3/num-detected-classes=2/g"    config.txt

原文地址:https://www.cnblogs.com/morganh/p/14852512.html