The id-utils package contains a collection of tools to build and query a database of tokens from text files. With this database many text-searching tasks become simpler and faster. For example, you can list all files that reference a particular '
id-utils-3.2: description + notes
#include
' file throughout a large source hierarchy, search for all the memos containing references to a project, or automatically invoke an editor on all files containing references to some function or variable.There are several programs in the ID utilities family:
In addition, the ID utilities have historically provided several query programs which are specializations of lid:
- mkid scans files for tokens and builds the ID database file.
- lid queries the ID database for tokens, then reports matching file names or matching lines.
- fid lists all tokens recorded in the database for given files, or tokens common to two files.
- fnid matches the file names in the database, rather than the tokens.
- xtokid extracts raw tokens--helps with testing of new `mkid' scanners.
Type "
- gid (
lid -R grep
) lists all lines containing the requested pattern. See also "M-x gid
" in emacs.- eid (
lid -R edit
) invokes an editor on all files containing the requested pattern, and if possible, initiates a text search for that pattern.- aid (
lid -ils
) treats the requested pattern as a case-insensitive literal substring.info 'ID Database'
" to view the on-line documentation.
To auto-install this package, go back and click on the respective install icon.