[comp.sources.unix] v10i044: Replacement makehelp script for logo

rs@uunet.UU.NET (Rich Salz) (07/08/87)

Submitted by: Brian Harvey <bh@MEDIA-LAB.MEDIA.MIT.EDU>
Mod.sources: Volume 10, Number 44
Archive-name: logo/Patch02

#! /bin/sh
# This is a shell archive.  Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file".  To overwrite existing
# files, type "sh file -c".  You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g..  If this archive is complete, you
# will see the following message at the end:
#		"End of shell archive."
# Contents:  makehelp
# Wrapped by rsalz@uunet.uu.net on Tue Jul  7 17:07:11 1987
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f makehelp -a "${1}" != "-c" ; then 
  echo shar: Will not over-write existing file \"makehelp\"
else
echo shar: Extracting \"makehelp\" \(286 characters\)
sed "s/^X//" >makehelp <<'END_OF_makehelp'
X: makehelp, /bin/sh script to make help files.
Xed - logoman << 'foo'
X1i
X.pl 999i
X.
X1,$s/\\f[123]//g
X1,$s/\\(em/ ~ /g
X1,$g/^\.ft/d
X1,$g/^\.cu/d
X1,$g/^\.po/d
X1,$g/^\.NB/d
X1,$g/^\.ti/d
Xw manfoo
Xq
Xfoo
Xnroff manfoo 2>/dev/null >nrfoo
Xcd help
Xrm *
X../splithelp ../nrfoo
Xcd ..
Xrm manfoo nrfoo
END_OF_makehelp
if test 286 -ne `wc -c <makehelp`; then
    echo shar: \"makehelp\" unpacked with wrong size!
fi
# end of overwriting check
fi
echo shar: End of shell archive.
exit 0
-- 

Rich $alz			"Anger is an energy"
Cronus Project, BBN Labs	rsalz@pineapple.bbn.com
Moderator, comp.sources.unix	sources@uunet.uu.net