File: checkdocs

package info (click to toggle)
regina-normal 5.1-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 54,328 kB
  • ctags: 15,903
  • sloc: cpp: 142,028; ansic: 19,218; xml: 9,844; objc: 7,729; perl: 1,190; python: 623; sh: 614; makefile: 110
file content (14 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download | duplicates (10)
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