Edit

thodg/libiconv/tests/check-translit

Branch :

  • Show log

    Commit

  • Author : Bruno Haible
    Date : 2000-01-04 21:56:56
    Hash : 00e960fc
    Message : Upgrade to libiconv-1.0.

  • tests/check-translit
  • #!/bin/sh
    # Simple check of transliteration facilities.
    # Usage: check-translit SRCDIR FILE fromcode tocode
    srcdir="$1"
    file="$2"
    fromcode="$3"
    tocode="$4"
    set -e
    ./iconv -f "$fromcode" -t "$tocode" < "${srcdir}"/"$file"."$fromcode" > tmp
    cmp "${srcdir}"/"$file"."$tocode" tmp
    rm -f tmp
    exit 0