diff options
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 |