merge in to /usr/old/lib tree
[unix-history] / usr / src / share / me / strip.sed
CommitLineData
731b0e83
KB
1#! /bin/sed -f
2#
0a1cd3e4 3# Copyright (c) 1988 The Regents of the University of California.
731b0e83
KB
4# All rights reserved.
5#
2791ff57 6# %sccs.include.redist.sh%
731b0e83 7#
2791ff57 8# @(#)strip.sed 5.3 (Berkeley) %G%
731b0e83 9#
2791ff57 10
731b0e83
KB
11/%beginstrip%/{
12 h
13 s/.*/.\\" This version has had comments stripped; an unstripped version is available./p
14 g
15}
16/%beginstrip%/,$s/[. ][ ]*\\".*//
17/^$/d
18/\\n@/d