blob: 47c3d4f919cb2b3b3eea00b1cbd1ae08d989f6fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#!/bin/sh
#
# aliaslist.sh -- Generate `idnalias.conf.sample' file.
#
cpu_company_system="$1"
utf8_name="$2"
cat <<EOF
*.ISO_8859-1 ISO-8859-1
*.ISO_8859-2 ISO-8859-1
*.SJIS Shift_JIS
*.Shift_JIS Shift_JIS
ja_JP.EUC EUC-JP
ko_KR.EUC EUC-KR
*.big5 Big5
*.Big5 Big5
*.KOI8-R KOI8-R
*.GB2312 GB2312
ja EUC-JP
EOF
case "$cpu_company_system" in
*-*-hpux*)
echo "japanese Shift_JIS"
;;
*)
echo "japanese EUC-JP"
esac
if [ "x$utf8_name" != xUTF-8 ] ; then
echo "UTF-8 $utf8_name"
fi
exit 0
|