summaryrefslogtreecommitdiffstats
path: root/mantools/check-double-cc
blob: bf7878063cccd567ef200b359cd4d8677ca790fb (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 | grep -F -vxf proto/stop.double-cc