/rusxmms/librcd

To get this branch, use:
bzr branch http://suren.me/webbzr/rusxmms/librcd

« back to all changes in this revision

Viewing changes to statgen/traslations

  • Committer: Suren A. Chilingaryan
  • Date: 2005-06-16 23:19:27 UTC
  • Revision ID: Arch-1:ds@dside.dyndns.org--darksoft-2004%librcd--main--0.1--base-0
initial import

(automatically generated log message)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/bash
 
2
 
 
3
if [ -z "$1" ]; then
 
4
    echo "Usage: doit <file name>"
 
5
    exit
 
6
fi
 
7
 
 
8
# In some CP866 texts used "Yo" and "N" simbols from CP1251 encoding. This fixes it.
 
9
dos2unix -U $1
 
10
cat $1 | sed -e "s/�/�/g" | sed -e "s/�/N/g;s/�/�/g" | iconv -f CP866 -t KOI8-R > $1.koi
 
11
cat $1 | sed -e "s/�/�/g" | sed -e "s/�/�/g;s/�/�/g" | iconv -f CP866 -t CP1251 > $1.win
 
12
cat $1 | sed -e "s/�/�/g" | sed -e "s/�/�/g;s/�/�/g" | iconv -f CP866 -t UTF-8 > $1.utf