1 # Sed script for tests/stateful-check editing.
4 # For systems that distinguish between text and binary I/O\
5 # the binary mode of iconv must be selected and for\
6 # systems with severe filename restrictions allow for\
7 # an alternate filename.\
8 UNAME=${UNAME-`uname 2>/dev/null`}\
10 *-DOS) MODE='--binary'\
11 filename=`echo "$charset" | sed "s|ISO-|ISO/|;s|2022-|2022|"` ;;\
13 filename="$charset" ;;\
15 /iconv/ s/iconv/& $MODE/
16 s/\$charset"-snippet/$filename"-snippet/g