参考https://blog.csdn.net/u011478909/article/details/50602938

[root@test10 shell]# cat dos2Unix.sh
#!/bin/bash
for file in `find /usr/src/linux/ -name Kconfig.*`
do
vi +':w ++ff=unix' +':q' ${file}
done

 

Logo

更多推荐