home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
news
/
nn.tar
/
nn-6.5.1
/
SPLITNN1
< prev
next >
Wrap
Text File
|
1995-04-29
|
338b
|
18 lines
# split nn.1 in 4 parts
cd man
if [ ! -f nn.1 ] ; then
echo "nn.1 missing: cannot split it!"
exit 1
fi
rm -f nn.1.[ABCD]
sed -n \
-e '/BEGINPART A/,/ENDPART A/w nn.1.A' \
-e '/BEGINPART B/,/ENDPART B/w nn.1.B' \
-e '/BEGINPART C/,/ENDPART C/w nn.1.C' \
-e '/BEGINPART D/,/ENDPART D/w nn.1.D' nn.1
# dont have to 'make' it
touch nn.1