summary refs log tree commit diff
path: root/iconvdata/tst-table.sh
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/tst-table.sh')
-rwxr-xr-xiconvdata/tst-table.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/iconvdata/tst-table.sh b/iconvdata/tst-table.sh
index f00d3eef3e..3386c1d480 100755
--- a/iconvdata/tst-table.sh
+++ b/iconvdata/tst-table.sh
@@ -41,7 +41,9 @@ ${SHELL} tst-table-charmap.sh ${charmap:-$charset} \
 # Precompute expected differences between the two iconv directions.
 if test ${charset} = EUC-TW; then
   irreversible=${objpfx}tst-${charset}.irreversible
-  grep '^0x8EA1' ${objpfx}tst-${charset}.charmap.table > ${irreversible}
+  (grep '^0x8EA1' ${objpfx}tst-${charset}.charmap.table
+   cat ${charset}.irreversible
+  ) > ${irreversible}
 else
   irreversible=${charset}.irreversible
 fi