File: check-double-cc

package info (click to toggle)
postfix 3.10.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,968 kB
  • sloc: ansic: 134,721; makefile: 17,984; sh: 6,966; perl: 2,796; python: 1,448; awk: 158
file content (8 lines) | stat: -rwxr-xr-x 244 bytes parent folder | download | duplicates (3)
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