summaryrefslogtreecommitdiffstats
path: root/mantools/check-spell-cc
blob: ab2247019f3dab30fc779ca95d75b3c5ec210fea (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 | fgrep -vxf proto/stop | fgrep -vxf proto/stop.spell-cc