Scroll to navigation

DEFID(1) User Commands DEFID(1)




gid [OPTION]... PATTERN...


Query ID database and report results. By default, output consists of multiple lines, each line containing the matched identifier followed by the list of file names in which it occurs.

file name of ID database
match PATTERN case insensitively
match PATTERN as a literal string
match PATTERN as a regular expression
match PATTERN as a delimited word
match PATTERN as a substring
Note: If PATTERN contains extended regular expression metacharacters, it is interpreted as a regular expression substring. Otherwise, PATTERN is interpreted as a literal word.
STYLE is one of `token', `pattern' or `none'
STYLE is one of `filenames', `grep', `edit' or `none'
STYLE is one of `braces', `space' or `newline' and only applies to file names when `--result=filenames'
The above STYLE options control how query results are presented. Defaults are --key=token --result=filenames --separator=space
find tokens that occur FREQ times, where FREQ is a range expressed as `N..M'. If N is omitted, it defaults to 1, if M is omitted it defaults to MAX_USHRT
find tokens whose names are ambiguous for LEN chars
only find numbers expressed as hexadecimal
only find numbers expressed as decimal
only find numbers expressed as octal
By default, searches match numbers of any radix.
display this help and exit
output version information and exit


Report bugs to


The full documentation for defid is maintained as a Texinfo manual. If the info and defid programs are properly installed at your site, the command

info defid

should give you access to the complete manual.

February 2012 defid - 4.6