source-engine/thirdparty/libiconv-1.15/djgpp/stateful-check.sed
2020-11-19 22:37:27 +02:00

13 lines
388 B
Sed

# Sed script for tests/stateful-check editing.
/charsetf=/ a\
\
# For systems with severe filename restrictions allow for\
# an alternate filename.\
UNAME=${UNAME-`uname 2>/dev/null`}\
case X$UNAME in\
*-DOS) filename=`echo "$charsetf" | sed "s|ISO-|ISO/|;s|2022-|2022|;s|BIG5-HKSCS-|BIG5-HKSCS/|"` ;;\
*) filename="$charsetf" ;;\
esac
s/\$charsetf"-snippet/$filename"-snippet/g