defmt-c, defmt-sh - a sample ispell deformatter for C, C++, and shell sources
| Use Case | Command | Description |
|---|---|---|
| 🔍 Check C/C++ source code | ispell -F defmt-c [ispell_options] | Check spelling in C/C++ files — filters out code, checks only comments & strings |
| 🔍 Check shell scripts | ispell -F defmt-sh [ispell_options] | Check spelling in shell scripts — filters out code, checks only comments & strings |
| ⚙️ Custom ispell options | ispell -F defmt-c|defmt-sh -d dict -a | Pass extra options like alternate dictionary, pipe mode, etc. |
ispell -F defmt-c [ispell_options]
ispell -F defmt-sh [ispell_options]
The defmt-c and defmt-sh programs are sample deformatters provided primarily to show how to write filters for use with ispell(1)'s -F switch. They allow ispell(1) to be used to check C and C++ programs as well as shell scripts (and any other languages that use # for comments and both quote styles for strings).
Geoff Kuennin <geoff AT cs.edu>
This manual page was written by Robert Luberda <robert AT debian.org> (based on deformatters/README file from the ispell source package) for the Debian project (and may be used by others).
```Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 15:07 @216.73.216.75
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)