#!/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