ID(1)ID(1)NAMEid - ID database.
SYNOPSISidDESCRIPTION
Some information on how to setup an ID database.
Some extra script are in this package to help setup the ID database. The
scripts are listsrc, syms.id, and IDdata.
By going to the directory (for example, $WORKAREA/irix/kern,
$WORKAREA/gfx/kern, or even $WORKAREA/x) that you would like to have the
database start at and issue the command IDdata. It should then use the
listsrc script, and syms.id script to gather information and stuff it
into a ID database.
Then you can use the various ID commands to extract the information.
aid, is like apropos and finds token/symbols. The output will be
token/symbol, filename.
defid, find the file(s) where the given token/symbol was defined.
eid, is will allow you to edit all the files with a particular
token/symbol.
fid, dumps all the tokens/symbols in a particular filename.
fnid, or previously pid, will find the filename(s) that matches a given
pattern. Try fnid *core*, if in $WORKAREA/irix/kern directory.
gid, a grep for a token/symbol, but the output is filename, line number
of token/symbol, and token/symbol. The reverse of aid and will do
pattern matching.
lid, lookup in the database. Lid is the real work horse here. Given
various options will allow you slice and dice the ID database is various
ways.
mkid, used to build the database from a list of source code files
including header files.
See 'info "ID Database"' for full details.
Page 1