X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=contrib%2Ficonv%2Fmake.sh;fp=contrib%2Ficonv%2Fmake.sh;h=0000000000000000000000000000000000000000;hb=6d4e89a8e0a0d6639c04b8ac0ca808b1dba23c3d;hp=777d0026057583e0375fdab441706fde0e83b310;hpb=ffd9bdb72850419ba4131009524787d616f785bb;p=apps%2Fmadmutt.git diff --git a/contrib/iconv/make.sh b/contrib/iconv/make.sh deleted file mode 100755 index 777d002..0000000 --- a/contrib/iconv/make.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -- - -# -# Create sample configuration files from the tables contained with libiconv. -# Copyright (C) 2001 Thomas Roessler -# -# This ugly shell script is free software; you can distribute and/or modify -# it under the terms of the GNU General Public License version 2 or later. -# - -LIBICONV="$1" -test -d $LIBICONV/libcharset/tools || { - echo "Sorry, I can't find libiconv's source!" >&2 ; - exit 1 ; -} - -for f in $LIBICONV/libcharset/tools/* ; do - rm -f tmp.rc. - ( head -3 $f | grep -q 'locale name.*locale charmap.*locale_charset' ) && ( - sed '1,/^$/d' $f | awk '($4 != $3) { printf ("iconv-hook %s %s\n", $4, $3); }' | \ - sed -e 's/^iconv-hook SJIS /iconv-hook Shift_JIS /gi' | - sort -u > tmp.rc ) - test -s tmp.rc && mv tmp.rc iconv.`basename $f`.rc - rm -f tmp.rc -done