diff options
Diffstat (limited to 'statgen/traslations')
-rwxr-xr-x | statgen/traslations | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/statgen/traslations b/statgen/traslations deleted file mode 100755 index 630735a..0000000 --- a/statgen/traslations +++ /dev/null @@ -1,12 +0,0 @@ -#! /bin/bash - -if [ -z "$1" ]; then - echo "Usage: doit <file name>" - exit -fi - -# In some CP866 texts used "Yo" and "N" simbols from CP1251 encoding. This fixes it. -dos2unix -U $1 -cat $1 | sed -e "s/¸/ñ/g" | sed -e "s/¹/N/g;s/°/ø/g" | iconv -f CP866 -t KOI8-R > $1.koi -cat $1 | sed -e "s/¸/ñ/g" | sed -e "s/¹/ü/g;s/°/ø/g" | iconv -f CP866 -t CP1251 > $1.win -cat $1 | sed -e "s/¸/ñ/g" | sed -e "s/¹/ü/g;s/°/ø/g" | iconv -f CP866 -t UTF-8 > $1.utf |