home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
minnie.tuhs.org
/
unixen.tar
/
unixen
/
PDP-11
/
Distributions
/
ucb
/
spencer_2bsd.tar.gz
/
2bsd.tar
/
src
/
me
/
install.sh
< prev
next >
Wrap
Text File
|
1980-02-17
|
572b
|
36 lines
if $1x = x goto argcnt
echo stripping and installing $1 $2 $3 $4 $5 $6 $7 $8 $9
: loop
if $1x = x goto done
echo $1:
ed $1
1a
%beginstrip%
.
g/%beginstrip%/d
i
.\" This version has had comments stripped; an unstripped version is available.
.
+,$g/[. ]\\".*/s///
g/[ ][ ]*$/s///
g/^$/d
g/\\n@/d
w _mac_temp_
q
if $1 = tmac.e goto mainmac
cp _mac_temp_ /usr/lib/me/$1
goto endloop
: mainmac
cp _mac_temp_ /usr/lib/tmac.e
: endloop
rm _mac_temp_
shift
goto loop
: done
cp revisions /usr/lib/me/revisions
echo "Done"
exit
: argcnt
echo "Usage: install <-me file list>"
exit