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
* src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be'
[s-roff.git]
/
tmac
/
strip.sed
blob
0bb59f8f0480e112dec1fccf7d88f897211bb246
1
# strip comments, spaces, etc., after a line containing `%beginstrip%'
2
/%beginstrip%/,$ {
3
s/^\.[ ]*/./
4
s/^\.\\".*/./
5
s/^\\#.*/./
6
s/\\".*/\\"/
7
s/\\#.*/\\/
8
/\(.[ad]s\)/!s/[ ]*\\"//
9
/\(.[ad]s\)/s/\([^ ]*\)\\"/\1/
10
s/\([^/]\)doc-/\1/g
11
}
12
/^\.$/d