From: Keith Bostic Date: Wed, 9 Jun 1993 02:26:03 +0000 (-0800) Subject: date and time created 93/06/08 11:26:03 by bostic X-Git-Tag: BSD-4_4_Lite1-Snapshot-Development~3396 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/66395b3165f0ce8a8b3f0e1a3a714d6cdfd2c108?ds=inline date and time created 93/06/08 11:26:03 by bostic SCCS-vsn: share/tmac/strip.sed 5.1 --- diff --git a/usr/src/share/tmac/strip.sed b/usr/src/share/tmac/strip.sed new file mode 100644 index 0000000000..99d62f57e3 --- /dev/null +++ b/usr/src/share/tmac/strip.sed @@ -0,0 +1,18 @@ +#! /bin/sed -f +# +# Copyright (c) 1988, 1993 +# The Regents of the University of California. All rights reserved. +# +# %sccs.include.redist.sh% +# +# @(#)strip.sed 5.1 (Berkeley) %G% +# + +/%beginstrip%/{ + h + s/.*/.\\" This version has had comments stripped; an unstripped version is available./p + g +} +/%beginstrip%/,$s/[. ][ ]*\\".*// +/^$/d +/\\n@/d