summaryrefslogtreecommitdiffstats
path: root/mantools/check-spell-cc
blob: f82a4a34e32012251ef9f9f088465f77f82be828 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# Spellchecks comments in C source code. See mantools/comment.c for
# 'comment' source code.

LANG=C; export LANG

find . -name *.[hc] | xargs cat | comment | mantools/deroff | spell | grep -F -vxf proto/stop | grep -F -vxf proto/stop.spell-cc