Commit | Line | Data |
---|---|---|
66395b31 KB |
1 | #! /bin/sed -f |
2 | # | |
3 | # Copyright (c) 1988, 1993 | |
4 | # The Regents of the University of California. All rights reserved. | |
5 | # | |
6 | # %sccs.include.redist.sh% | |
7 | # | |
0cf0a4ea | 8 | # @(#)strip.sed 8.1 (Berkeley) %G% |
66395b31 KB |
9 | # |
10 | ||
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 |