Files correlati : cg0.exe cg0700a.msk cg0700b.msk cg3.exe cg4.exe Bug : Commento: Merge 1.0 libraries
11 lines
289 B
Bash
11 lines
289 B
Bash
#!/bin/sh
|
|
# Simple check of transliteration failure.
|
|
# Usage: check-translitfailure SRCDIR FILE FROMCODE TOCODE
|
|
srcdir="$1"
|
|
file="$2"
|
|
fromcode="$3"
|
|
tocode="$4"
|
|
$bindir/iconv -f "$fromcode" -t "$tocode"//TRANSLIT < "${srcdir}"/"$file"."$fromcode" >/dev/null 2>/dev/null
|
|
test $? = 1
|
|
exit $?
|