From 646d776513e94722842cfe012074364a79dcf8f4 Mon Sep 17 00:00:00 2001 From: Gavin Lin Date: Mon, 13 Aug 2018 00:18:46 -0700 Subject: [PATCH] add the recoding script. The gmsv folder hasn't been recoded yet except for the version.h file --- recode.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 recode.sh diff --git a/recode.sh b/recode.sh new file mode 100755 index 0000000..10ef38a --- /dev/null +++ b/recode.sh @@ -0,0 +1,13 @@ +#!/bin/sh +#echo "Recoding /saac folder.." +#for file in saac/src/*.[ch]; do +# echo "$file" +# recode gb18030..utf8 $file +#done +#echo "Done!" + +echo "Recoding /gmsv folder.." +for file in `find gmsv -type f`; do + echo "Processing $file" + recode gb18030..utf8 $file +done