home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
InfoMagic Internet Tools 1993 July
/
Internet Tools.iso
/
RockRidge
/
mail
/
sendmail
/
uk-sendmail2.1
/
Examples
/
localise.sh
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Linux/UNIX/POSIX Shell Script
|
1991-06-11
|
339 b
|
20 lines
#!/bin/sh
chmod u+w base.m4
# if the aliases file lives in /etc rather than /usr/lib
ed base.m4 <<'EOF'
/^OA/s/usr.lib/etc/p
w
q
EOF
# if we wanted to change an existing option we could
ed base.m4 <<'EOF'
/^OX12$/s/12/80/p
/^Ox8$/s/8/60/p
w
q
EOF
# if we wanted to undefine an m4 macro we could
cat >> base.m4 <<'EOF'
undefine(`gcos')
EOF