strip.sed revision 75589
1# $FreeBSD: head/contrib/groff/tmac/strip.sed 75589 2001-04-17 12:28:00Z ru $ 2# strip comments, spaces, etc. after a line containing `%beginstrip%' 3/%beginstrip%/,$ { 4 s/^\.[ ]*/./ 5 s/^\.\\".*/./ 6 s/\\".*/\\"/ 7 /\(.[ad]s\)/!s/[ ]*\\"// 8 /\(.[ad]s\)/s/\([^ ]*\)\\"/\1/ 9 s/\([^/]\)doc-/\1/g 10} 11/^\.$/d 12