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