diff options
author | wl <wl> | 2006-06-06 16:49:39 +0000 |
---|---|---|
committer | wl <wl> | 2006-06-06 16:49:39 +0000 |
commit | 8c3feae9e730fa662359ab9f870aa01299d291da (patch) | |
tree | 5173b3bd4b2e40e8c375ac40bd889dec2129c563 /tmac/strip.sed | |
parent | dd9643b70bbdadc74a4847195a11e02c56d6461f (diff) | |
download | groff-8c3feae9e730fa662359ab9f870aa01299d291da.tar.gz |
* tmac/strip.sed: Strip `\#' also.
* doc/groff.texinfo: Document usage of \? for string comparison.
Diffstat (limited to 'tmac/strip.sed')
-rw-r--r-- | tmac/strip.sed | 4 |
1 files changed, 3 insertions, 1 deletions
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 |