Changeset View
Changeset View
Standalone View
Standalone View
tools/tools/locale/tools/finalize
Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | /usr/bin/sed -E -e 's/[ ]+/ /g' \ | ||||
${UNIDIR}/posix/UTF-8.cm \ | ${UNIDIR}/posix/UTF-8.cm \ | ||||
> ${base}/../etc/final-maps/map.UTF-8 | > ${base}/../etc/final-maps/map.UTF-8 | ||||
/usr/bin/sed -E -e 's/[ ]+/ /g' \ | /usr/bin/sed -E -e 's/[ ]+/ /g' \ | ||||
${UNIDIR}/posix/eucCN.cm \ | ${UNIDIR}/posix/eucCN.cm \ | ||||
> ${base}/../etc/final-maps/map.eucCN | > ${base}/../etc/final-maps/map.eucCN | ||||
/usr/bin/sed -E -e 's/[ ]+/ /g' \ | /usr/bin/sed -E -e 's/[ ]+/ /g' \ | ||||
${UNIDIR}/posix/eucCN.cm \ | ${UNIDIR}/posix/eucCN.cm \ | ||||
> ${base}/../etc/final-maps/map.GB2312 | > ${base}/../etc/final-maps/map.GB2312 | ||||
CHARMAPS="ARMSCII-8 Big5 CP1131 CP1251 \ | |||||
# GB18030 and Big5 are pre-generated from CLDR data | |||||
CHARMAPS="ARMSCII-8 CP1131 CP1251 \ | |||||
CP866 GBK ISCII-DEV ISO8859-1 \ | CP866 GBK ISCII-DEV ISO8859-1 \ | ||||
ISO8859-13 ISO8859-15 ISO8859-2 ISO8859-4 \ | ISO8859-13 ISO8859-15 ISO8859-2 ISO8859-4 \ | ||||
ISO8859-5 ISO8859-7 ISO8859-9 KOI8-R KOI8-U \ | ISO8859-5 ISO8859-7 ISO8859-9 KOI8-R KOI8-U \ | ||||
PT154 SJIS US-ASCII eucJP eucKR" | PT154 SJIS US-ASCII eucJP eucKR" | ||||
# GB18030 blows up, use pre-generate Illumos version | |||||
for map in ${CHARMAPS} | for map in ${CHARMAPS} | ||||
do | do | ||||
encoding=${map} | encoding=${map} | ||||
/usr/local/bin/perl ${base}/convert_map.pl \ | /usr/local/bin/perl ${base}/convert_map.pl \ | ||||
${base}/../etc/charmaps/${map}.TXT ${encoding} \ | ${base}/../etc/charmaps/${map}.TXT ${encoding} \ | ||||
| /usr/bin/sed -E -e 's/ +/ /g' \ | | /usr/bin/sed -E -e 's/ +/ /g' \ | ||||
> ${base}/../etc/final-maps/map.${map} | > ${base}/../etc/final-maps/map.${map} | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |