File: checkdocs

package info (click to toggle)
regina-normal 4.5-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 16,824 kB
  • ctags: 7,862
  • sloc: cpp: 63,296; ansic: 12,913; sh: 10,556; perl: 3,294; makefile: 947; python: 188
file content (14 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
for i in `find . -name "*.h"`; do
  if ! grep -r "@{\$" $i > /dev/null; then
    case "$i" in
      *registry.h )
      ;;
      * )
        echo "$i : No group opening tag."
      ;;
    esac
  elif ! grep -r "@}\*/\$" $i > /dev/null; then
    echo "$i : No group closing tag."
  fi
done