Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / contrib / groff / tmac / strip.sed
1 # $FreeBSD: src/contrib/groff/tmac/strip.sed,v 1.2.2.2 2001/04/26 17:35:41 ru Exp $
2 # $DragonFly: src/contrib/groff/tmac/Attic/strip.sed,v 1.2 2003/06/17 04:24:02 dillon Exp $
3 # strip comments, spaces, etc. after a line containing `%beginstrip%'
4 /%beginstrip%/,$ {
5   s/^\.[         ]*/./
6   s/^\.\\".*/./
7   s/\\".*/\\"/
8   /\(.[ad]s\)/!s/[       ]*\\"//
9   /\(.[ad]s\)/s/\([^     ]*\)\\"/\1/
10   s/\([^/]\)doc-/\1/g
11 }
12 /^\.$/d