diff options
author | Martin Mares <mj@ucw.cz> | 2000-06-07 12:27:18 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-06-07 12:27:18 +0000 |
commit | cf0fca30353a9966c793647f7c9d10b0b56678a9 (patch) | |
tree | e0d627675a1c5e629f68c92bd0185a2b8a5dadeb /doc/prog-spell.sed | |
parent | 1ae494a7e1fb7dde3ffc4e5dd7df31a1bf8dd6bf (diff) |
Added `progspell' target which runs ispell on the progdoc SGML file with
all function, variable and structure names removed.
Diffstat (limited to 'doc/prog-spell.sed')
-rw-r--r-- | doc/prog-spell.sed | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/prog-spell.sed b/doc/prog-spell.sed new file mode 100644 index 00000000..426a0332 --- /dev/null +++ b/doc/prog-spell.sed @@ -0,0 +1,13 @@ +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 |