54 Star 407 Fork 245

baoyou.xie / Linux 2.6.12代码注释

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
conv.sh 251 Bytes
一键复制 编辑 原始数据 按行查看 历史
Baoyou Xie 提交于 2021-06-26 22:32 . 添加-c参数
ENCODE="UNKNOWN"
for f in `find ./ -name "*"`; do
ENCODE=`enca $f`
if [[ $ENCODE == *GB2312 ]]; then
echo "convert file: " $f
cp $f tmp.txt -f
iconv -c -f gbk -t utf8 tmp.txt > $f
fi
done
#cp $1 tmp.txt -f
#iconv -f gbk -t utf8 tmp.txt > $1
C
1
https://gitee.com/xiebaoyou/linux-2.6.12.git
git@gitee.com:xiebaoyou/linux-2.6.12.git
xiebaoyou
linux-2.6.12
Linux 2.6.12代码注释
master

搜索帮助