From: handa Date: Tue, 24 Jul 2007 06:21:23 +0000 (+0000) Subject: New file. X-Git-Tag: XML-base~16 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aea41a804f9d5c6fe91de2a83ceb0e6fff735f40;p=m17n%2Fm17n-docs.git New file. --- diff --git a/utils/ja_filter.sh b/utils/ja_filter.sh new file mode 100755 index 0000000..544d0ee --- /dev/null +++ b/utils/ja_filter.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +case $1 in +*.[ch]) iconv -f EUC-JP -t UTF-8 < $1 | utils/ja_filter.rb;; +*.txt) iconv -f EUC-JP -t UTF-8 < $1 | utils/ja_filter.rb;; +*) utils/ja_filter.rb $1;; +esac diff --git a/utils/usr_filter.sh b/utils/usr_filter.sh new file mode 100755 index 0000000..152fcf7 --- /dev/null +++ b/utils/usr_filter.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +case $1 in +*.[ch]) iconv -f EUC-JP -t UTF-8 < $1 | utils/usr_filter.rb;; +*) utils/usr_filter.rb $1;; +esac