0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-18 17:18:42 +00:00
bird/doc/prog-spell.sed
Martin Mares cf0fca3035 Added `progspell' target which runs ispell on the progdoc SGML file with
all function, variable and structure names removed.
2000-06-07 12:27:18 +00:00

14 lines
274 B
Sed

s%<type>[^<]*</type>%%g
s%<param>[^<]*</param>%%g
s%<func>[^<]*</func>%%g
s%<funcdef>[^<]*</funcdef>%%g
s%<type/[^</]*/%%g
s%<param/[^</]*/%%g
s%<func/[^</]*/%%g
s%<funcdef/[^</]*/%%g
s%<struct/[^</]*/%%g
s%<const/[^</]*/%%g
s%<[^<>/ ]\+/%%g
s%</\?[^<>/ ]*>%%g
s%&[^;]*;%%g