shell批量将文件从dos格式转为Unix
参考https://blog.csdn.net/u011478909/article/details/50602938[root@test10 shell]# cat dos2Unix.sh#!/bin/bashfor file in `find /usr/src/linux/ -name Kconfig.*`dovi +':w ++ff=unix' +':q' ${file}do...
·
参考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
更多推荐
已为社区贡献1条内容
所有评论(0)