From 8c3feae9e730fa662359ab9f870aa01299d291da Mon Sep 17 00:00:00 2001 From: wl Date: Tue, 6 Jun 2006 16:49:39 +0000 Subject: * tmac/strip.sed: Strip `\#' also. * doc/groff.texinfo: Document usage of \? for string comparison. --- tmac/strip.sed | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tmac/strip.sed') diff --git a/tmac/strip.sed b/tmac/strip.sed index 069c3db1..0bb59f8f 100644 --- a/tmac/strip.sed +++ b/tmac/strip.sed @@ -1,8 +1,10 @@ -# strip comments, spaces, etc. after a line containing `%beginstrip%' +# strip comments, spaces, etc., after a line containing `%beginstrip%' /%beginstrip%/,$ { s/^\.[ ]*/./ s/^\.\\".*/./ + s/^\\#.*/./ s/\\".*/\\"/ + s/\\#.*/\\/ /\(.[ad]s\)/!s/[ ]*\\"// /\(.[ad]s\)/s/\([^ ]*\)\\"/\1/ s/\([^/]\)doc-/\1/g -- cgit v1.2.1