11638Srgrimes#! /bin/sed -f
21638Srgrimes#
31638Srgrimes# Copyright (c) 1988, 1993
41638Srgrimes#	The Regents of the University of California.  All rights reserved.
51638Srgrimes#
61638Srgrimes# Redistribution and use in source and binary forms, with or without
71638Srgrimes# modification, are permitted provided that the following conditions
81638Srgrimes# are met:
91638Srgrimes# 1. Redistributions of source code must retain the above copyright
101638Srgrimes#    notice, this list of conditions and the following disclaimer.
111638Srgrimes# 2. Redistributions in binary form must reproduce the above copyright
121638Srgrimes#    notice, this list of conditions and the following disclaimer in the
131638Srgrimes#    documentation and/or other materials provided with the distribution.
141638Srgrimes# 3. All advertising materials mentioning features or use of this software
151638Srgrimes#    must display the following acknowledgement:
161638Srgrimes#	This product includes software developed by the University of
171638Srgrimes#	California, Berkeley and its contributors.
181638Srgrimes# 4. Neither the name of the University nor the names of its contributors
191638Srgrimes#    may be used to endorse or promote products derived from this software
201638Srgrimes#    without specific prior written permission.
211638Srgrimes#
221638Srgrimes# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
231638Srgrimes# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
241638Srgrimes# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
251638Srgrimes# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
261638Srgrimes# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
271638Srgrimes# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
281638Srgrimes# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
291638Srgrimes# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
301638Srgrimes# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
311638Srgrimes# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
321638Srgrimes# SUCH DAMAGE.
331638Srgrimes#
341638Srgrimes#	@(#)strip.sed	8.1 (Berkeley) 6/5/93
351638Srgrimes#
361638Srgrimes
371638Srgrimes/%beginstrip%/{
381638Srgrimes	h
391638Srgrimes	s/.*/.\\" This version has had comments stripped; an unstripped version is available./p
401638Srgrimes	g
411638Srgrimes}
421638Srgrimes/%beginstrip%/,$s/[. 	][ 	]*\\".*//
431638Srgrimes/^$/d
441638Srgrimes/\\n@/d
45