summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-03-30 13:43:44 +0200
committerJim Meyering <meyering@redhat.com>2010-05-09 20:43:35 +0200
commitd958af18d07bd4c01685f101a75c691c35a30089 (patch)
tree8798b474a9f4054d7321058a60db65c14507f9eb /doc
parent4900e6847bf8ef3be13efb48ed1008addf9dfa32 (diff)
downloadidutils-d958af18d07bd4c01685f101a75c691c35a30089.tar.gz
idutils-d958af18d07bd4c01685f101a75c691c35a30089.tar.bz2
idutils-d958af18d07bd4c01685f101a75c691c35a30089.zip
doc: add "gid" to the menus and direntry list
* doc/idutils.texi (gid invocation): Add a section on "gid".
Diffstat (limited to 'doc')
-rw-r--r--doc/idutils.texi19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/idutils.texi b/doc/idutils.texi
index 2b68233..29fd44b 100644
--- a/doc/idutils.texi
+++ b/doc/idutils.texi
@@ -1259,6 +1259,25 @@ fnid \*.c
here protects the @samp{*} from being expanded by the shell.)
@c ************* gkm *********************************************************
+@node gid invocation
+@chapter @code{gid}: Token-based grep
+
+@pindex gid
+@cindex searching files, grep
+
+@file{gid} lists each line containing one of the specified tokens.
+
+Running @command{gid} is equivalent to @samp{lid -R grep})
+
+For example, the command:
+
+@example
+gid important_variable
+@end example
+
+@noindent lists each line of each file in the database that contains that token.
+
+@c ************* gkm *********************************************************
@node xtokid invocation
@chapter @file{xtokid}: Testing Language Scanners