File: defid

package info (click to toggle)
id-utils 3.2d-2.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,808 kB
  • ctags: 1,677
  • sloc: ansic: 14,285; sh: 403; makefile: 262; perl: 255; sed: 93; lisp: 26
file content (6 lines) | stat: -rw-r--r-- 110 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
#! /bin/sh

for sym
do
    gid $sym |egrep '(}[ 	]*|:[ 	]*#[ 	]*define[ 	]+)'$sym'|typedef\>.*[ 	]+'$sym
done