| 1 |
#!/bin/csh |
| 2 |
# The contents of this file are subject to the Interbase Public |
| 3 |
# License Version 1.0 (the "License"); you may not use this file |
| 4 |
# except in compliance with the License. You may obtain a copy |
| 5 |
# of the License at http://www.Inprise.com/IPL.html |
| 6 |
# |
| 7 |
# Software distributed under the License is distributed on an |
| 8 |
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express |
| 9 |
# or implied. See the License for the specific language governing |
| 10 |
# rights and limitations under the License. |
| 11 |
# |
| 12 |
# The Original Code was created by Inprise Corporation |
| 13 |
# and its predecessors. Portions created by Inprise Corporation are |
| 14 |
# Copyright (C) Inprise Corporation. |
| 15 |
# |
| 16 |
# All Rights Reserved. |
| 17 |
# Contributor(s): ______________________________________. |
| 18 |
|
| 19 |
set echo |
| 20 |
rm -f tmp.sed |
| 21 |
echo "s:to_unicode_map:sjis_to_unicode_map:g" > tmp.sed |
| 22 |
echo "s:from_unicode_map:sjis_from_unicode_map:g" >> tmp.sed |
| 23 |
|
| 24 |
cc -g mapgen4.c -o mapgen4 |
| 25 |
rm new/cs_*.h |
| 26 |
mapgen4 -condense -euc asia/GB/GB2312.TXT > new/cs_gb2312.h |
| 27 |
mapgen4 -condense -sjis asia/JIS/JIS0208.TXT > new/cs_jis_0208_1990.h |
| 28 |
mapgen4 -condense asia/OTHER/BIG5.TXT > new/cs_big5.h |
| 29 |
mapgen4 -condense asia/KSC/KSC5601.TXT > new/cs_ksc5601.h |
| 30 |
mapgen4 SHIFTJIS.TXT | sed -f tmp.sed > new/cs_sjis.h |
| 31 |
rm -f tmp.sed |
| 32 |
|
| 33 |
CC -g mapcompare.cpp -o mapcompare |
| 34 |
rm mapcompare.out |
| 35 |
mapcompare > mapcompare.out |