diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-06-28 16:37:40 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-06-28 16:37:40 +0000 |
commit | e491cf8ad72d6752af8dac345d3bbc491e21a13a (patch) | |
tree | db41b453a116c64cbac10f51aeec3c68d954cce6 /statgen/doit | |
parent | 70fbe7822024d0acc68df3607ff25bf8d7a71751 (diff) | |
download | librcd-e491cf8ad72d6752af8dac345d3bbc491e21a13a.tar.gz librcd-e491cf8ad72d6752af8dac345d3bbc491e21a13a.tar.bz2 librcd-e491cf8ad72d6752af8dac345d3bbc491e21a13a.tar.xz librcd-e491cf8ad72d6752af8dac345d3bbc491e21a13a.zip |
0.1.6
* Function name is changed to conform LibRCC naming conventions
* AutoConf Improvements
* Release Script
* Other minor changes
Diffstat (limited to 'statgen/doit')
-rwxr-xr-x | statgen/doit | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/statgen/doit b/statgen/doit index c38fe39..a71a88a 100755 --- a/statgen/doit +++ b/statgen/doit @@ -9,29 +9,26 @@ fi dos2unix -U $1 cat $1 | sed -e "s/¸/ñ/g;s/¹/N/g;s/°/ø/g" | iconv -f CP866 -t KOI8-R > $1.koi -cat $1 | sed -e "s/¸/ñ/g;s/¹/N/g;s/°/ø/g" | iconv -f CP866 -t CP1251 > $1.win -cat $1 | sed -e "s/¸/ñ/g;s/¹/N/g;s/°/ø/g" > $1.alt - +#cat $1 | sed -e "s/¸/ñ/g;s/¹/N/g;s/°/ø/g" | iconv -f CP866 -t CP1251 > $1.win +#cat $1 | sed -e "s/¸/ñ/g;s/¹/N/g;s/°/ø/g" > $1.alt #cat $1 | sed -e "s/¸/ñ/g;s/¹/ü/g;s/°/ø/g" | iconv -f CP866 -t UTF-8 > $1.utf export LC_CTYPE="ru_RU.KOI8-R" -./generate $1.koi koi > russian_table.h 2> header1.tmp -./generate $1.koi win >> russian_table.h 2> header2.tmp -./generate $1.koi alt >> russian_table.h 2> header3.tmp -#./generate $1.win win >> russian_table.h 2> header2.tmp -#./generate $1 alt >> russian_table.h 2> header3.tmp +./generate $1.koi koi > table.tmp.h 2> header1.tmp +./generate $1.koi win >> table.tmp.h 2> header2.tmp +./generate $1.koi alt >> table.tmp.h 2> header3.tmp cmp header1.tmp header2.tmp if [ $? -ne 0 ]; then echo "Different number items in win & koi tables. Strange..." - rm -f russian_table.h + rm -f table.tmp.h else cmp header1.tmp header3.tmp if [ $? -ne 0 ]; then echo "Different number items in win & koi tables. Strange..." - rm -f russian_table.h + rm -f table.tmp.h else - cat header1.tmp >> russian_table.h + cat header1.tmp >> table.tmp.h fi fi |