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

# Finds double words in C comments. See mantools/comment.c for 'comment'
# source code.

LANG=C; export LANG

find src -name '*.[hc]' | xargs cat | comment | mantools/deroff | mantools/find-double | fgrep -vxf proto/stop.double-cc