#! /bin/sh

# Avoid effects from locale settings.
# The idea of this `unset' emulation is borrowed from Autoconf 2.50
unset=unset
(HEKE=heke; unset HEKE) >/dev/null 2>/dev/null || unset=false

$unset LANG	|| test -z "${LANG+set}"	|| { LANG=C; export LANG; }
$unset LC_ALL	|| test -z "${LC_ALL+set}"	|| { LC_ALL=C; export LC_ALL; }
$unset LC_COLLATE || test -z "${LC_COLLATE+set}" || { LC_COLLATE=C; export LC_COLLATE; }

cat *.t | sort | ./genanthydic -o anthy.dic
