分类:
2006-08-04 15:31:11
sed -i 's/iso\-8859\-1/utf\-8/g' *
sed -i 's/>Next>前进sed -i 's/>Prev>后退sed -i 's/>Up>上一级sed -i 's/>Home>回首页sed -i 's/Version\ 6.2/版本\ 6.2/g' *
sed -i 's/Installing\ Basic\ System\ Software/安装基本系统软 件/g' *
sed -i 's/Building\ the\ LFS\ System/构建LFS系统/g' *
wangyao@fisherman:~/Study/LFS/LFS/6.2/zh_cn$ cat moreiconv.sh
#!/bin/sh
Dir=$1
cd $Dir
for file in $(ls)
do
iconv -f gb2312 -t utf-8 $file > tmpfile
mv tmpfile $file
done