mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-10 01:16:47 +00:00
13 lines
388 B
Sed
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
|