Annotation of embedaddon/libiconv/djgpp/stateless-check.sed, revision 1.1.1.1

1.1       misho       1: # Sed script for tests/stateless-check editing.
                      2: 
                      3: /charsetf=/ a\
                      4: \
                      5: # For systems with severe filename restrictions\
                      6: # allow for an alternate filename.\
                      7: UNAME=${UNAME-`uname 2>/dev/null`}\
                      8: case X$UNAME in\
                      9:   *-DOS) filename=`echo "$charsetf" | sed "s|ISO-|ISO/|; \\\
                     10:                                            s|Mac|Mac/|; \\\
                     11:                                            s|BIG5-HKSCS-|BIG5-HKSCS/|; \\\
                     12:                                            s|Georgian-|Georgian/|"`\
                     13:          tmp_filename=`echo "$filename" | sed "s|/|/tmp-|"`\
                     14:          tmp_orig_filename=`echo "$filename" | sed "s|/|/tmp-orig-|"` ;;\
                     15:   *)     filename="$charsetf"\
                     16:          tmp_filename="$charsetf"\
                     17:          tmp_orig_filename="$charsetf" ;;\
                     18: esac
                     19: s|/"\$charsetf"|/"$filename"|g
                     20: s|tmp-"\$charsetf"|"${srcdir}"/"$tmp_filename"|g
                     21: s|tmp-orig"\$charsetf"|"${srcdir}"/"$tmp_orig_filename"|g
                     22: s|\.INVERSE\.|.INVERSE-|g
                     23: s|\.IRREVERSIBLE\.|.IRREVERSIBLE-|g

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>