aboutsummaryrefslogtreecommitdiff
path: root/sol-subst-strings
blob: 672ba3d7163f1921c2ce473f70932e6be66cd1a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
sed     -e "/^@set FIXMES/s::@clear FIXMES:" \
	-e "/^@clear CUSTOMER/s::@set CUSTOMER:" \
	-e "/^@set CDROMinst/s::@clear CDROMinst:" \
	-e "/^@clear TAPEinst/s::@set TAPEinst:" \
	-e "/^@set FTPsingle/s::@clear FTPsingle:" \
	-e "/^@set FTPsplit/s::@clear FTPsplit:" \
	-e "/\|\|MEDIUM\|\|/s::tape:g" \
	-e "/\|\|MEDstr\|\|/s::/dev/rmt/0ln:g" \
	-e "/\|\|DEVdflt\|\|/s::/dev/rmt/0ln:g" \
	-e "/\|\|MEDvar\|\|/s::/dev/@var{tape}:g" \
	-e "/\|\|TAPdflt\|\|/s::/dev/@var{tape}:g" \
        -e "/\|\|RELNO\|\|/s::1.0:g" \
        -e "/\|\|BD\|\|/s::20:g" \
        -e "/\|\|SD\|\|/s::28:g" \
        -e "/\|\|DF\|\|/s::48:g" \
        -e "/\|\|BUNDLE\|\|/s::comp:g" \
        -e "/\|\|HOST\|\|/s::SPARC computer:g" \
        -e "/\|\|HOSTstr\|\|/s::sparc-sun-solaris2:g" \
        -e "/\|\|TARGET\|\|/s::sparc-sun-solaris2:g" \
        -e "/\|\|GCCvn\|\|/s::cygnus-2.0.2:g"  \
	< $1 > $2