repo.or.cz
/
s-roff.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* doc/Makefile.sub: Not all shells expand wildcards in the `for'
[s-roff.git]
/
tmac
/
strip.sed
blob
069c3db1fa60c089110e876d17405dd507615377
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
9
}
10
/^\.$/d