* doc/Makefile.sub: Not all shells expand wildcards in the `for'
[s-roff.git] / tmac / strip.sed
blob069c3db1fa60c089110e876d17405dd507615377
1 # strip comments, spaces, etc. after a line containing `%beginstrip%'
2 /%beginstrip%/,$ {
3   s/^\.[         ]*/./
4   s/^\.\\".*/./
5   s/\\".*/\\"/
6   /\(.[ad]s\)/!s/[       ]*\\"//
7   /\(.[ad]s\)/s/\([^     ]*\)\\"/\1/
8   s/\([^/]\)doc-/\1/g
10 /^\.$/d