1#!/bin/sh 2# Simple check of transliteration facilities. 3# Usage: check-translit SRCDIR FILE FROMCODE TOCODE 4srcdir="$1" 5file="$2" 6fromcode="$3" 7tocode="$4" 8set -e 9../src/iconv_no_i18n -f "$fromcode" -t "$tocode"//TRANSLIT < "${srcdir}"/"$file"."$fromcode" > tmp 10cmp "${srcdir}"/"$file"."$tocode" tmp 11rm -f tmp 12exit 0 13