File: check-double-cc

package info (click to toggle)
postfix 3.11.0-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 29,376 kB
  • sloc: ansic: 143,636; makefile: 19,474; sh: 7,190; perl: 2,855; python: 1,448; awk: 158
file content (8 lines) | stat: -rwxr-xr-x 244 bytes parent folder | download | duplicates (7)
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