=================================================================== RCS file: /cvs/cvs_filter/cvs_Lu.sh,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- cvs_filter/cvs_Lu.sh 2020/04/30 14:02:19 1.3 +++ cvs_filter/cvs_Lu.sh 2020/04/30 14:08:31 1.4 @@ -1,5 +1,5 @@ #! /bin/sh -# $Id: cvs_Lu.sh,v 1.3 2020/04/30 14:02:19 hako Exp $ +# $Id: cvs_Lu.sh,v 1.4 2020/04/30 14:08:31 hako Exp $ # # cvs_Lu.sh is a filter for CVS. # @@ -27,7 +27,7 @@ if [ "$1" = "commit" ]; then find . -type f -name '*.csv' -exec nkf -g {} + | grep "UTF-8" | sed -e 's/: UTF-8//g' | tr '\n' '\0' | xargs -0 nkf --oc=UTF-8-BOM -Lu --in-place -find . -type f -name '*.csv' -exec nkf -g {} + | grep "ASCII" | sed -e 's/: ASCII//g' | tr '\n' '\0' | xargs -0 nkf --oc=UTF-8 -Lu --in-place +find . -type f -name '*.csv' -exec nkf -g {} + | grep "ASCII" | sed -e 's/: ASCII//g' | tr '\n' '\0' | xargs -0 nkf -Lu --in-place find . -type f -name '*.csv' -exec nkf -g {} + | grep "Shift_JIS" | sed -e 's/: Shift_JIS//g' | tr '\n' '\0' | xargs -0 nkf --oc=Shift_JIS -Lu --in-place cvs "$@" else