Debian Codegraph @

doc/idutils.info

raw
1 This is idutils.info, produced by makeinfo version 6.5 from
2 idutils.texi.
3
4 This file documents the 'idutils' database utilities.
5
6 Copyright (C) 1996-2020 Free Software Foundation, Inc.
7
8 Permission is granted to copy, distribute and/or modify this
9 document under the terms of the GNU Free Documentation License,
10 Version 1.3 or any later version published by the Free Software
11 Foundation; with no Invariant Sections, with no Front-Cover Texts,
12 and with no Back-Cover Texts. A copy of the license is included in
13 the section entitled "GNU Free Documentation License" in the Emacs
14 manual.
15
16 This document is part of a collection distributed under the GNU
17 Free Documentation License. If you want to distribute this
18 document separately from the collection, you can do so by adding a
19 copy of the license to the document, as described in section 6 of
20 the license.
21 INFO-DIR-SECTION Text creation and manipulation
22
23 START-INFO-DIR-ENTRY
24 * ID utilities: (idutils). Indexing and searching utilities.
25 * mkid: (idutils)mkid invocation. Creating an ID database.
26 * lid: (idutils)lid invocation. Matching words and patterns.
27 * fid: (idutils)fid invocation. Listing a file's tokens.
28 * gid: (idutils)gid invocation. Token-based grep.
29 * fnid: (idutils)fnid invocation. Looking up file names.
30 * xtokid: (idutils)xtokid invocation. Testing mkid scanners.
31 END-INFO-DIR-ENTRY
32
33 
34 File: idutils.info, Node: Top, Next: Introduction, Up: (dir)
35
36 ID utilities
37 ************
38
39 This manual documents version 4.6.28-15da of the ID utilities.
40
41 * Menu:
42
43 * Introduction:: Overview of the tools with tutorial.
44 * Quick start:: Quick start procedure.
45 * Common options:: Common command-line options.
46 * mkid invocation:: Creating an ID database.
47 * lid invocation:: Querying an ID database by token.
48 * fid invocation:: Listing a file's tokens.
49 * fnid invocation:: Looking up file names.
50 * gid invocation:: Token-based grep
51 * xtokid invocation:: Testing language scanners.
52 * Past and Future:: History and future directions.
53 * Index:: General index.
54
55 
56 File: idutils.info, Node: Introduction, Next: Quick start, Prev: Top, Up: Top
57
58 1 Introduction
59 **************
60
61 An "ID database" is a binary file containing a list of file names, a
62 list of tokens, and a sparse matrix indicating which tokens appear in
63 which files.
64
65 With this database and some tools to query it (described in this
66 manual), many text-searching tasks become simpler and faster. For
67 example, you can list all files that reference a particular '#include'
68 file throughout a huge source hierarchy, search for all the memos
69 containing references to a project, or automatically invoke an editor on
70 all files containing references to some function or variable. Anyone
71 with a large software project to maintain, or a large set of text files
72 to organize, can benefit from the ID utilities.
73
74 Although the name 'ID' is short for 'identifier', the ID utilities
75 handle more than just identifiers; they also treat other kinds of
76 tokens, most notably numeric constants, and the contents of certain
77 character strings. Thus, this manual will use the word "token" as a
78 term that is inclusive of identifiers, numbers and strings.
79
80 There are several programs in the ID utilities family:
81
82 'mkid'
83 scans files for tokens and builds the ID database file.
84
85 'lid'
86 queries the ID database for tokens, then reports matching file
87 names or matching lines.
88
89 'fid'
90 lists all tokens recorded in the database for given files, or
91 tokens common to two files.
92
93 'fnid'
94 matches the file names in the database, rather than the tokens.
95
96 'xtokid'
97 extracts raw tokens--helps with testing of new 'mkid' scanners.
98
99 In addition, the ID utilities have historically provided several
100 query programs which are specializations of 'lid':
101
102 'gid'
103 (alias for 'lid -R grep') lists all lines containing the requested
104 pattern.
105
106 'eid'
107 (alias for 'lid -R edit') invokes an editor on all files containing
108 the requested pattern, and if possible, initiates a text search for
109 that pattern.
110
111 'aid'
112 (alias for 'lid -ils') treats the requested pattern as a
113 case-insensitive literal substring.
114
115 Please report bugs to '[email protected]'. Remember to include the
116 version number, machine architecture, input files, and any other
117 information needed to reproduce the bug: your input, what you expected,
118 what you got, and why it is wrong. Diffs are welcome, but please
119 include a description of the problem as well, since this is sometimes
120 difficult to infer. *Note (gcc)Bugs::.
121
122 
123 File: idutils.info, Node: Quick start, Next: Common options, Prev: Introduction, Up: Top
124
125 2 Quick Start Procedure
126 ***********************
127
128 * Unpack the distribution.
129
130 * Type './configure'
131
132 * Type 'make'
133
134 * Type 'make install' as a user with the appropriate privileges
135 (e.g., 'bin' or perhaps even 'root').
136
137 * Type 'cd /usr/include; mkid' to build an ID database covering all
138 of the system header files.
139
140 * Type 'lid FILE', then 'gid strtok', then 'aid stdout'.
141
142 You have just built, installed and used the most common commands of
143 the GNU ID utilities. If you ever need help remembering which system
144 header files contain a particular declaration, or reference a particular
145 symbol, you'll want to keep the ID file you built in '/usr/include' for
146 later use. If your working directory is elsewhere at the time, simply
147 provide the '-f /usr/include' option to 'lid' (*note Reading options::).
148
149 
150 File: idutils.info, Node: Common options, Next: mkid invocation, Prev: Quick start, Up: Top
151
152 3 Common command-line options
153 *****************************
154
155 Certain options, and regular expression syntax, are shared by various
156 groupings of the ID utilities. We describe these in the sections below,
157 rather than repeating them for each program.
158
159 * Menu:
160
161 * Universal options:: Options common to all programs.
162 * Reading options:: Options for programs that read ID databases.
163 * Writing options:: Options for programs that write ID databases.
164 * Walker options:: Options for programs that walk file and directory trees.
165 * File listing options:: Options for programs that list file names.
166 * Extraction options:: Options for programs that extract tokens from source files.
167
168 
169 File: idutils.info, Node: Universal options, Next: Reading options, Up: Common options
170
171 3.1 Options Common to All Programs
172 ==================================
173
174 '--help'
175 Print a usage message listing all available options, then exit
176 successfully.
177
178 '--version'
179 Print the version number, then exit successfully.
180
181 
182 File: idutils.info, Node: Reading options, Next: Writing options, Prev: Universal options, Up: Common options
183
184 3.2 Options for Programs that Read ID Databases
185 ===============================================
186
187 '-f FILENAME'
188 '--file=FILENAME'
189
190 FILENAME is the ID database to read when processing queries. At
191 present, only a single '--file' option is processed, but in future
192 releases, more than one ID database may be named on the command
193 line.
194
195 '$IDPATH'
196
197 'IDPATH' is an environment variable that contains a colon-separated
198 list of ID database names. If this variable is present, and no
199 '--file' options are presented on the command line, the ID
200 databases named in 'IDPATH' are implied.(1)
201
202 If no ID databases are specified either on the command line or via
203 the 'IDPATH' environment variable, then the ID utilities search for a
204 file named 'ID' in the current working directory, and then in successive
205 parent directories.
206
207 ---------- Footnotes ----------
208
209 (1) At present, this feature isn't fully implemented, since only the
210 first of a list of ID database names is processed.
211
212 
213 File: idutils.info, Node: Writing options, Next: Walker options, Prev: Reading options, Up: Common options
214
215 3.3 Options for Programs that Write ID Databases
216 ================================================
217
218 '-o FILENAME'
219 '--output=FILENAME'
220
221 The '--output' option names the file in which to write a new ID
222 database. If no '--output' (or '--file') option is present, an
223 output file named 'ID' is implied.
224
225 '-f FILENAME'
226 '--file=FILENAME'
227
228 This is a synonym for '--output'
229
230 
231 File: idutils.info, Node: Walker options, Next: File listing options, Prev: Writing options, Up: Common options
232
233 3.4 Options for Programs that Walk File and Directory Trees.
234 ============================================================
235
236 The programs 'mkid' and 'xtokid' accept the names of files and
237 directories on the command line. Files are scanned if there is a
238 scanner available and enabled for the file's source language.
239 Directories are recursively descended, searching for files whose names
240 match the rules listed in the _language map_ file (*note Language
241 map::).
242
243 The following option controls the file tree walker:
244
245 '-p NAMES'
246 '--prune=NAMES'
247
248 One or more file or directory names may appear in NAMES. The file
249 tree walker will stop short at these files and directories and
250 their contents will not be scanned.
251
252 '--files0-from=FILE'
253 Rather than processing files named on the command line, process
254 those named in file FILE; each name is terminated by a null byte.
255 This is useful when the list of file names is so long that it may
256 exceed a command line length limitation. One way to produce a list
257 of null-byte-terminated file names is with GNU 'find', using its
258 '-print0' predicate. Do not specify any FILE on the command line
259 when using this option.
260
261 
262 File: idutils.info, Node: File listing options, Next: Extraction options, Prev: Walker options, Up: Common options
263
264 3.5 Options for Programs that List File Names
265 =============================================
266
267 The programs 'lid' and 'fnid' can print lists of file names as the
268 result of queries. The following option controls how these lists are
269 formatted:
270
271 '-S STYLE'
272 '--separator=STYLE'
273
274 STYLE may be one of 'braces', 'space' or 'newline'.
275
276 The STYLE of 'braces' means that file names with common directory
277 prefix and common suffix are printed using the shell's brace
278 notation in order to compress the output. For example,
279 '../src/foo.c ../src/bar.c' can be printed in brace notation as
280 '../src/{foo,bar}.c'.
281
282 The STYLEs of 'space' and 'newline' mean that file names are
283 separated spaces or by newlines, respectively.
284
285 If the list of files is being printed on a terminal, brace notation
286 is the default. If not, file names are separated by spaces if the
287 KEY is included in the output, and by newlines the KEY STYLE is
288 'none' (*note lid invocation::).
289
290 
291 File: idutils.info, Node: Extraction options, Prev: File listing options, Up: Common options
292
293 3.6 Options for Programs that Scan Source Files
294 ===============================================
295
296 'mkid' and 'xtokid' walk file trees, select source files by name, and
297 extract tokens from source files. They accept the following options:
298
299 '-m MAPFILE'
300 '--lang-map=MAPFILE'
301
302 MAPFILE contains rules for determining the source languages from
303 file names. *Note Language map::.
304
305 '-i LANGUAGES'
306 '--include=LANGUAGES'
307
308 The '--include' option names LANGUAGES whose source files should be
309 scanned and incorporated into the ID database. By default, all
310 languages known to the ID utilities are enabled.
311
312 '-x LANGUAGES'
313 '--exclude=LANGUAGES'
314
315 The '--exclude' option names LANGUAGES whose source files should
316 NOT be scanned. The default list of excluded languages is empty.
317 Note that only one of '--include' or '--exclude' may be specified
318 on the command line for a single run.
319
320 '-l LANGUAGE:OPTIONS'
321 '--lang-option=LANGUAGE:OPTIONS'
322
323 Language-specific scanners also accept options. LANGUAGE denotes
324 the desired scanner, and OPTION is the command-line option that
325 should be passed through to it. For example, to pass the -X FOO
326 -COKE-BOTTLE options to the scanner for the language SWIZZLE, use
327 one of the next two forms, or a mixture of both:
328
329 $ mkid -l swizzle:"-x foo" -l swizzle:--coke-bottle
330 $ mkid --lang-option=swizzle:"-x foo" --lang-option=swizzle:--coke-bottle
331
332 Note the use of quotes when passing an option with arguments.
333 Quoting is optional for options without arguments.
334
335 Use the '--help' option to see the command-line option summary for
336 each language.
337
338 To determine which tokens to extract from a file and store in the
339 database, 'mkid' calls a "scanner"; we say a scanner "recognizes" a
340 particular language. Scanners for several languages are built-in to
341 'mkid'; you can add your own scanners as well, as explained in *note
342 Defining scanners::.
343
344 The ID utilities determine which scanner to use for a particular file
345 by consulting the language-map file. Scanners for several are already
346 built-in to the ID utilities. You can see which languages have built-in
347 scanners, and examine their language-specific options by invoking 'mkid
348 --help' or 'xtokid --help'.
349
350 * Menu:
351
352 * Language map:: Mapping file names to source languages.
353 * C Cpp Java scanner:: For the C, C++ and Java programming languages.
354 * Assembler scanner:: For assembly language.
355 * Text scanner:: For documents or other non-source code.
356 * Perl scanner:: For Perl language (experimental).
357 * Lisp scanner:: For the Lisp language (experimental).
358 * Defining scanners:: Defining new scanners in the source code.
359
360 
361 File: idutils.info, Node: Language map, Next: C Cpp Java scanner, Up: Extraction options
362
363 3.6.1 Mapping file names to source languages
364 --------------------------------------------
365
366 The file 'id-lang.map', installed by default in
367 '$(prefix)/share/id-lang.map', contains rules for mapping file names to
368 source languages. Each rule comprises three parts: a shell GLOB
369 pattern, a language name, and language-specific scanner options.
370
371 The special pattern '**' denotes the default source language. This
372 is the language that's assigned to file names that don't match any other
373 pattern.
374
375 The special pattern '***' should be followed by a file name. The
376 named file should contain more language-map rules and is included at
377 this point.
378
379 The order in which rules are presented in a language-map file is
380 significant. This order influences the order in which files are
381 displayed as the result of queries. For example, the distributed
382 language-map file places all rules for C .H files ahead of .C files, so
383 that in general, declarations will precede definitions in query output.
384 The same thing is done for C++ and its many different source file name
385 extensions.
386
387 Here is a pared-down version of the 'id-lang.map' file distributed
388 with the ID utilities:
389
390
391 # Default language
392 ** IGNORE # Although this is listed first,
393 # the default language pattern is
394 # logically matched last.
395
396 # Backup files
397 *~ IGNORE
398 *.bak IGNORE
399 *.bk[0-9] IGNORE
400
401 # SCCS files
402 [sp].* IGNORE
403
404 # list header files before code files
405 *.h C
406 *.h.in C
407 *.H C++
408 *.hh C++
409 *.hpp C++
410 *.hxx C++
411
412 # list C `meta' files next
413 *.l C
414 *.lex C
415 *.y C
416 *.yacc C
417
418 # list C code files after header files
419 *.c C
420 *.C C++
421 *.cc C++
422 *.cpp C++
423 *.cxx C++
424
425 # list assembly language after C
426 *.[sS] asm --comment=;
427 *.asm asm --comment=;
428
429 # [nt]roff
430 *.[0-9] roff
431 *.ms roff
432 *.me roff
433 *.mm roff
434
435 # TeX and friends
436 *.tex TeX
437 *.ltx TeX
438 *.texi texinfo
439 *.texinfo texinfo
440
441
442 
443 File: idutils.info, Node: C Cpp Java scanner, Next: Assembler scanner, Prev: Language map, Up: Extraction options
444
445 3.6.2 C Cpp Java Language Scanner
446 ---------------------------------
447
448 The C scanner is the most commonly used. Files that match the glob
449 pattern '*.h', '*.c', as well as 'yacc' files that match '*.y' or
450 '*.yacc', and 'lex' files that match '*.l' or '*.lex', are processed
451 with this scanner.
452
453 Scanner-specific options (Note, these options are presented WITHOUT
454 the required '-l' or '--lang-option=' prefix):
455
456 '-k CHARACTER-CLASS'
457 '--keep=CHARACTER-CLASS'
458
459 Consider the characters in CHARACTER-CLASS as valid constituents of
460 identifier names. For example, if you are indexing C code that
461 contains '$' in some of its identifiers, you can include these by
462 using '--lang-option=C:--keep=$', or '-l C:"-k $"' (if you don't
463 like to type so much).
464
465 '-i CHARACTER-CLASS'
466 '--ignore=CHARACTER-CLASS'
467
468 Consider the characters in CHARACTER-CLASS as valid constituents of
469 identifier names, but discard all tokens containing these
470 characters. For example, if some C code has identifiers containing
471 '$', but you don't want these cluttering up your ID database, use
472 '--lang-option=C:--ignore=$', or the terser equivalent '-l C:"-i
473 $"'.
474
475 '-u'
476 '--strip-underscore'
477
478 Strip one leading underscore from C identifiers encapsulated as
479 character strings. This option is useful if you are indexing C
480 code that contains symbol-table name strings for systems that
481 prepend an underscore to external symbols. By default, the leading
482 underscore is retained.
483
484 
485 File: idutils.info, Node: Assembler scanner, Next: Text scanner, Prev: C Cpp Java scanner, Up: Extraction options
486
487 3.6.3 Assembly Language Scanner
488 -------------------------------
489
490 Assembly languages use a variety of commenting conventions, and allow a
491 variety of special characters to _dirty up_ local symbols, preventing
492 name space conflicts with symbols defined by higher-level languages.
493 Also, some compilation systems prepend an underscore to external
494 symbols. The options listed below are designed to address these
495 differences.
496
497 '-c CHARACTER-CLASS'
498 '--comment=CHARACTER-CLASS'
499
500 The characters in CHARACTER-CLASS are considered left delimiters
501 for comments that extend until the end of the current line.
502
503 '-k CHARACTER-CLASS'
504 '--keep=CHARACTER-CLASS'
505
506 Consider the characters of CHARACTER-CLASS as valid constituents of
507 identifier names. For example, if you are indexing assembly code
508 that prepends '.' to assembler directives, and prepends '%' to
509 register names, you can keep these characters in the tokens by
510 specifying '--lang-option=asm:--keep=.%', or '-l asm:"-k .%"'.
511
512 '-i CHARACTER-CLASS'
513 '--ignore=CHARACTER-CLASS'
514
515 Consider the characters of CHARACTER-CLASS as valid constituents of
516 identifier names, but discard all tokens containing these
517 characters. For example, if you don't want to clutter your ID
518 database with assembler directives that begin with a leading '.' or
519 with assembler labels that contain '@', use
520 '--lang-option=asm:--ignore=.@', or '-l asm:"-i .@"'.
521
522 '-u'
523 '--strip-underscore'
524
525 Strip one leading underscore from identifiers. This option is
526 useful if your compilation system prepends an underscore to
527 external symbols. By stripping the underscore, you can
528 canonicalize such names and bring them into conformance the way
529 they are expressed in the C language. By default, the leading
530 underscore is retained.
531
532 '-n'
533 '--no-cpp'
534
535 Do not recognize C preprocessor directives. By default, such lines
536 are handled in the same way as they are by the C language scanner.
537
538 
539 File: idutils.info, Node: Text scanner, Next: Perl scanner, Prev: Assembler scanner, Up: Extraction options
540
541 3.6.4 Text Scanner
542 ------------------
543
544 The plain text scanner is intended for human-language documents, or as
545 the scanner of last resort for files that have no scanner that is more
546 specific. It is customizable to the extent that character classes can
547 be designated as token constituents or as token delimiters. The default
548 token constituents are the alpha-numerics; all other characters are
549 considered token delimiters.
550
551 '-i CHARACTER-CLASS'
552 '--include=CHARACTER-CLASS'
553
554 Include characters belonging to CHARACTER-CLASS in tokens.
555
556 '-x CHARACTER-CLASS'
557 '--exclude=CHARACTER-CLASS'
558
559 Exclude characters belonging to CHARACTER-CLASS from tokens, i.e.,
560 treat them as token delimiters.
561
562 
563 File: idutils.info, Node: Perl scanner, Next: Lisp scanner, Prev: Text scanner, Up: Extraction options
564
565 3.6.5 Perl Scanner
566 ------------------
567
568 (EXPERIMENTAL)
569
570 The perl scanner is intended for perl-language documents. Tokens are
571 all words, Perl Keywords are included. Comments & string declarations
572 are ignored, as well as the documentation. It is customizable to the
573 extent that character classes can be designated as token constituents or
574 as token delimiters. The default token constituents are the
575 alpha-numerics; all other characters are considered token delimiters.
576
577 Perl support has been originally written by Madhu Gogulapati. This
578 scanner is considered experimental; please report any problems you
579 should encounter to '[email protected]' .
580
581 '-i CHARACTER-CLASS'
582 '--include=CHARACTER-CLASS'
583
584 Include characters belonging to CHARACTER-CLASS in tokens.
585
586 '-x CHARACTER-CLASS'
587 '--exclude=CHARACTER-CLASS'
588
589 Exclude characters belonging to CHARACTER-CLASS from tokens, i.e.,
590 treat them as token delimiters.
591
592 '-d'
593 '--dtags'
594
595 Include tokens from the documentation. By default, the tokens in
596 the documentation are ignored.
597
598 
599 File: idutils.info, Node: Lisp scanner, Next: Defining scanners, Prev: Perl scanner, Up: Extraction options
600
601 3.6.6 Lisp Scanner
602 ------------------
603
604 (EXPERIMENTAL)
605
606 The lisp scanner has been originally written by Edouard G. Parmelan,
607 and after many years it was posthumously integrated with the main
608 idutils code. It is intended for Lisp and Emacs Lisp files (.lisp, .el,
609 .elc, .scm). No options are currently available for this scanner.
610
611 This scanner is considered experimental; please report any problems
612 you should encounter to '[email protected]' .
613
614 
615 File: idutils.info, Node: Defining scanners, Prev: Lisp scanner, Up: Extraction options
616
617 3.6.7 Defining New Scanners in the Source Code
618 ----------------------------------------------
619
620 To add a new scanner in source code, you should add a new section to the
621 file 'scanners.c'. It might be easiest to clone one of the existing
622 scanners and modify it as necessary. For the hypothetical language FOO,
623 you must define the functions 'get_token_foo', 'parse_args_foo',
624 'help_me_foo', as well as the tables 'long_options_foo' and 'args_foo'.
625 If your scanner is modeled after one of the existing scanners, you'll
626 also need a character-attribute table 'ctype_foo'.
627
628 This is not a terribly difficult programming task, but it requires
629 recompiling and installing the new version of 'mkid' and 'xtokid'. You
630 should use 'xtokid' to test the operation of the new scanner.
631
632 Once these functions and tables are ready, add function prototypes
633 and an entry to the 'languages_0' table near the beginning of the file.
634
635 Be warned that the existing scanners are built for speed, not
636 elegance or readability. You might wish to create a new scanner that's
637 easier to read and understand if you don't feel that speed is so
638 important.
639
640 
641 File: idutils.info, Node: mkid invocation, Next: lid invocation, Prev: Common options, Up: Top
642
643 4 'mkid': Creating an ID Database
644 *********************************
645
646 'mkid' builds an ID database. It accepts the names of files and/or
647 directories on the command line, selects files that have an enabled
648 scanner, then extracts and stores tokens from those files. The
649 resulting ID database is architecture- and byte-order-independent so it
650 can be shared among all systems.
651
652 The primary virtues of 'mkid' are speed and high capacity. The size
653 of the source trees it can index is limited only by available system
654 memory. 'mkid''s indexing algorithm is very space-efficient and
655 exhibits excellent locality-of-reference, and so is capable of operating
656 with a working-set size that is only half the size of its virtual
657 address space. A typical UNIX-like operating system with 16 megabytes
658 of system memory should be able to build an ID database covering
659 approximately 12,000-14,000 source files totaling approximately 50-100
660 Megabytes. A 66 MHz 486 computer can build such a large ID database in
661 approximately 10-15 minutes.
662
663 In a future release, 'mkid' will be able to incrementally update an
664 ID database much faster than it can build one from scratch. Until this
665 feature becomes available, it might be a good idea to schedule a 'cron'
666 job to regularly update large ID databases during off-hours.
667
668 'mkid' writes the ID file, therefore it accepts the '--output' (and
669 '--file') options as described in *note Writing options::. 'mkid'
670 extracts tokens from source files, therefore it accepts the
671 '--lang-map', '--include', '--exclude', and '--lang-option' options, as
672 well as the language-specific scanner options, all of which are
673 described in *note Extraction options::. 'mkid' walks file trees,
674 therefore it handles file and directory names on its command line and
675 the '--prune' option as described in *note Walker options::.
676
677 In addition, 'mkid' accepts the following command-line options:
678
679 '-s'
680 '--statistics'
681
682 'mkid' reports statistics about resource usage at the end of its
683 run.
684
685 '-v'
686 '--verbose'
687
688 'mkid' reports statistics about each file as it is scanned, and
689 about the resource usage of its indexing algorithm at regular
690 intervals.
691
692 
693 File: idutils.info, Node: lid invocation, Next: fid invocation, Prev: mkid invocation, Up: Top
694
695 5 'lid': Querying an ID Database by Token
696 *****************************************
697
698 The 'lid' program accepts PATTERNS on the command line which it matches
699 against the tokens stored in an ID database. The interpretation of a
700 PATTERN is determined by the makeup of the PATTERN string itself, or can
701 be overridden by command-line options. If a PATTERN contains regular
702 expression meta-characters, it is used to perform a regular-expression
703 substring search. If no such meta-characters are present, PATTERN is
704 used to perform a literal word search. (By default, all searches are
705 sensitive to alphabetic case.) If no PATTERN is supplied on the command
706 line, 'lid' lists every entry in the ID database.
707
708 'lid' reads the ID database, therefore it accepts the '--file'
709 option, and consults the 'IDPATH' environment variable, as described in
710 *note Reading options::. 'lid' lists file names, therefore it accepts
711 the '--separator' option, as described in *note File listing options::.
712
713 In addition, 'lid' accepts the following command-line options:
714
715 '-i'
716 '--ignore-case'
717
718 Ignoring differences in alphabetic case between the PATTERN and the
719 tokens in the ID database.
720
721 '-l'
722 '--literal'
723
724 Match PATTERN as a literal string. Use this option if PATTERN
725 contains regular-expression meta-characters, but you don't wish to
726 perform a regular-expression search.
727
728 '-r'
729 '--regexp'
730
731 Match PATTERN as an _extended_ regular expression(1). Use this
732 option if no regular-expression expression meta-characters are
733 present in PATTERN, but you wish to force a regular-expression
734 search (note: in this case, a _literal substring_ search might be
735 faster).
736
737 '-w'
738 '--word'
739
740 Match PATTERN using a word-delimited (non substring) search. This
741 is the default for literal searches.
742
743 '-s'
744 '--substring'
745
746 Match PATTERN using a substring (non word-delimited) search. This
747 is the default for regular expression searches.
748
749 '-k STYLE'
750 '--key=STYLE'
751
752 STYLE can be one of 'token', 'pattern' or 'none'. This option
753 controls how the subject of the query is presented. This is best
754 illustrated by example:
755
756 $ lid --key=token '^dest.'
757 destaddr libsys/memcpy.c
758 destination libsys/regex.c
759 destlst libsys/rx.c
760 destpos libsys/rx.c
761 destset libsys/rx.h libsys/rx.c
762
763 $ lid --key=pattern '^dest.'
764 ^dest. libsys/rx.h libsys/{memcpy,regex,rx}.c
765
766 $ lid --key=none '^dest.'
767 libsys/rx.h libsys/{memcpy,regex,rx}.c
768
769 When '--key' is either 'token' or 'pattern', the first column of
770 output is a TOKEN or PATTERN, respectively. When '--key' is
771 'none', neither of these is printed, and the file name list begins
772 immediately. The default is 'token'.
773
774 '-R STYLE'
775 '--result=STYLE'
776
777 STYLE can be one of 'filenames', 'grep', 'edit' or 'none'. This
778 option controls how the value associated with the query's KEY
779 presented. When STYLE is 'filenames', a list of file names is
780 printed (this is the default). When STYLE is 'grep', the lines
781 that match PATTERN are printed in the same format as 'egrep -n'.
782 When STYLE is 'edit', the file names are passed to an editor, and
783 if possible PATTERN is passed as an initial search string (*note
784 eid invocation::). When STYLE is 'none', the file names are not
785 processed in any way. This can be useful if you wish to see what
786 tokens match a PATTERN, but don't care about where they reside.
787
788 '-d'
789 '-o'
790 '-x'
791
792 These options may be used in any combination to specify the radix
793 of numeric matches. '-d' allows matching on decimal numbers, '-o'
794 on octal numbers, and '-x' on hexadecimal numbers. Any combination
795 of these options may be used. The default is to match all three
796 radixes.
797
798 '-F RANGE'
799 '--frequency=RANGE'
800
801 Match tokens whose occurrence count falls in RANGE. RANGE may be
802 expressed as a single number N, or as a range N'..'M. Either limit
803 of the range may be omitted (e.g., '..'M, or N..'..'). If the
804 lower limit N is omitted, it defaults to '1'. If the upper limit
805 is omitted, it defaults in the present implementation to '65535',
806 the maximum value of an unsigned 16-bit integer.
807
808 Particularly useful queries are 'lid -F1', which helps locate
809 identifiers that are defined but never used, or are used but never
810 defined. Similarly, 'lid -F2' can help find functions that possess
811 a prototype declaration and a definition, but are never called.
812
813 '-a NUMBER'
814 '--ambiguous=NUMBER'
815
816 List identifiers (not numbers) that are ambiguous for the first
817 NUMBER characters. This feature might be in useful when porting
818 programs to ancient pea-brained compilers that don't support long
819 identifier names. However, the best long-term option is to set
820 such systems on fire.
821
822 * Menu:
823
824 * lid aliases:: Aliases for specialized lid queries
825 * Emacs gid interface:: GNU Emacs query interface
826 * eid invocation:: Invoking an editor on query results
827
828 ---------- Footnotes ----------
829
830 (1) Extended regular expressions are the same as those accepted by
831 'egrep'.
832
833 
834 File: idutils.info, Node: lid aliases, Next: Emacs gid interface, Up: lid invocation
835
836 5.1 Aliases for Specialized 'lid' Queries
837 =========================================
838
839 Historically, the ID utilities have provided several query interfaces
840 which are specializations of 'lid' (*note lid invocation::).
841
842 'gid'
843 (alias for 'lid -R grep') lists all lines containing the requested
844 pattern.
845
846 'eid'
847 (alias for 'lid -R edit') invokes an editor on all files containing
848 the requested pattern, and optionally initiates a text search for
849 that pattern.
850
851 'aid'
852 (alias for 'lid -ils') treats the requested pattern as a
853 case-insensitive literal substring.
854
855 
856 File: idutils.info, Node: Emacs gid interface, Next: eid invocation, Prev: lid aliases, Up: lid invocation
857
858 5.2 GNU Emacs query interface
859 =============================
860
861 The 'idutils' source distribution comes with a file 'idutils.el', which
862 defines a GNU Emacs interface to 'gid'. To install it, put 'idutils.el'
863 somewhere that Emacs will find it (i.e., in your 'load-path') and put
864
865 (autoload 'gid "idutils" nil t)
866
867 in one of Emacs' initialization files, e.g., '~/.emacs'. You will then
868 be able to use 'M-x gid' to run the command.
869
870 The 'gid' function prompts you with the word around point. If you
871 want to search for something else, simply delete the line and type the
872 pattern of interest.
873
874 The function then runs the 'gid' program in a '*compilation*' buffer,
875 so the normal 'next-error' function can be used to visit all the places
876 the identifier is found (*note (emacs)Compilation::).
877
878 
879 File: idutils.info, Node: eid invocation, Prev: Emacs gid interface, Up: lid invocation
880
881 5.3 'eid': Invoking an Editor on Query Results
882 ==============================================
883
884 'lid -R edit' is an editing interface for the ID utilities that is most
885 commonly used with 'vi'. Emacs users should use the interface defined
886 in 'idutils.el' (*note Emacs gid interface::). The ID utilities include
887 an alias called 'eid', and for the sake of brevity, we'll use this alias
888 for the remainder of this section. 'eid' performs a 'lid'-style, then
889 asks if you wish to edit the files. If your query yields more than one
890 line of output, you will be prompted after each line. This is the
891 prompt you'll see:
892
893 Edit? [y1-9^S/nq]
894
895 You may respond with:
896
897 'y'
898 Edit all files listed.
899
900 '1...9'
901 Edit all files starting at the N + 1'st file.
902
903 '/STRING or 'CTRL-S'REGEXP'
904 Search into the file list, and begin editing with the first file
905 name that matches the regular expression REGEXP.
906
907 'n'
908 Don't edit any files. If another line of query output is pending,
909 advance to that line, for which another 'Edit?' prompt will appear.
910
911 'q'
912 Quit--don't edit any files, and don't process any more lines of
913 query output.
914
915 Here is an example:
916
917 prompt$ eid FILE \^print
918 FILE {ansi2knr,fid,filenames,idfile,idx,lid,misc,...}.c
919 Edit? [y1-9^S/nq] n
920 ^print {ansi2knr,fid,getopt,getopt1,lid,mkid,regex,scanners}.c
921 Edit? [y1-9^S/nq] 2
922
923 This will start editing at 'getopt'.c.
924
925 'eid' invokes the editor defined by the environment variable
926 'VISUAL'. If 'VISUAL' is undefined, it uses the environment variable
927 'EDITOR' instead. If 'EDITOR' is undefined, it defaults to 'vi'. It is
928 possible for 'eid' to pass the editor an initial search pattern so that
929 your cursor will immediately alight on the token of interest. This
930 feature is controlled by the following environment variables:
931
932 'EIDARG'
933 A printf(3) format string for the editor argument to search for the
934 matching token. For 'vi', this should be '+/%s/'.
935
936 'EIDLDEL'
937 The regular-expression meta-character(s) for delimiting the
938 beginning of a word (the ''eid' Left DELimiter'). 'eid' inserts
939 this in front of the matching token when a word-search is desired.
940 For 'vi', this should be '\<'.
941
942 'EIDRDEL'
943 The regular-expression meta-character(s) for delimiting the end of
944 a word (the ''eid' Right DELimiter'). 'eid' inserts this in end of
945 the matching token when a word-search is desired. For 'vi', this
946 should be '\>'.
947
948 
949 File: idutils.info, Node: fid invocation, Next: fnid invocation, Prev: lid invocation, Up: Top
950
951 6 'fid': Listing a file's tokens
952 ********************************
953
954 'fid' prints the tokens found in a given file. If two file names are
955 passed on the command line, 'fid' prints the tokens that are common to
956 both files (i.e., the _set intersection_ of the two token sets).
957
958 'fid' reads the ID database, therefore it accepts the '--file'
959 option, and consults the 'IDPATH' environment variable, as described in
960 *note Reading options::.
961
962 If the standard output is attached to a terminal, the printed tokens
963 are separated by spaces. Otherwise, the tokens are printed one per
964 line.
965
966 
967 File: idutils.info, Node: fnid invocation, Next: gid invocation, Prev: fid invocation, Up: Top
968
969 7 'fnid': Looking up filenames
970 ******************************
971
972 'fnid' queries the list of file names stored in the ID database. It
973 accepts shell _wildcard_ patterns on the command line. If no pattern is
974 supplied, '*' is implied. 'fnid' prints the file names that match the
975 given patterns.
976
977 'fnid' prints file names, and as such accepts the '--separator'
978 option as described in *note File listing options::.
979
980 For example, the command:
981
982 fnid \*.c
983
984 lists all the '.c' files in the database. (The '\' here protects the
985 '*' from being expanded by the shell.)
986
987 
988 File: idutils.info, Node: gid invocation, Next: xtokid invocation, Prev: fnid invocation, Up: Top
989
990 8 'gid': Token-based grep
991 *************************
992
993 'gid' lists each line containing one of the specified tokens.
994
995 Running 'gid' is equivalent to 'lid -R grep')
996
997 For example, the command:
998
999 gid important_variable
1000
1001 lists each line of each file in the database that contains that token.
1002
1003 
1004 File: idutils.info, Node: xtokid invocation, Next: Past and Future, Prev: gid invocation, Up: Top
1005
1006 9 'xtokid': Testing Language Scanners
1007 *************************************
1008
1009 'xtokid' accepts the names of files and/or directories on the command
1010 line, then extracts and prints a stream of tokens from those files for
1011 which it has a valid, enabled scanner. This is useful primarily for
1012 debugging new 'mkid' scanners (*note Defining scanners::).
1013
1014 'xtokid' extracts tokens from source files, therefore it accepts the
1015 '--lang-map', '--include', '--exclude', and '--lang-option' options, as
1016 well as the language-specific scanner options, all of which are
1017 described in *note Extraction options::. 'xtokid' walks file trees,
1018 therefore it handles file and directory names on its command line and
1019 the '--prune' option as described in *note Walker options::.
1020
1021 The name 'xtokid' indicates that it is the "eXtract TOKens ID
1022 utility".
1023
1024 
1025 File: idutils.info, Node: Past and Future, Next: Index, Prev: xtokid invocation, Up: Top
1026
1027 10 Past and Future
1028 ******************
1029
1030 Greg McGary conceived of the ideas behind the ID utilities when he began
1031 working on the Unix kernel in 1984. He needed a navigation tool to help
1032 him find his way around the expansive, unfamiliar landscape. The first
1033 'idutils'-like tools were shell scripts, and produced an ASCII database
1034 that looks much like the output of 'lid ".*"'. It took over an hour on
1035 a VAX 11/750 to build a database for a 4.1BSD derived kernel. The first
1036 version of 'lid' used the UNIX system utility 'look', modified to handle
1037 very long lines.
1038
1039 In 1986, Greg rewrote the shell scripts in C to improve performance.
1040 Build times for the ID file were shortened by an order of magnitude.
1041 The ID utilities were first posted to 'comp.sources.unix' in September
1042 1987 under the name 'id'.
1043
1044 Over the next few years, several versions diverged from the original
1045 source. Tom Horsley at Harris Computer Systems Division stepped forward
1046 to take over maintenance and integrated some of the fixes from divergent
1047 versions. A first release of the renamed 'mkid' version 2 was posted to
1048 'alt.sources' near the end of 1990. At that time, Tom wrote a Texinfo
1049 manual with the encouragement of the net community. (Tom especially
1050 thanks Doug Scofield and Bill Leonard whom he dragooned into helping
1051 proofread and edit--they found several problems in the initial version.)
1052 Karl Berry revamped the manual for Texinfo style, indexing, and
1053 organization in 1995.
1054
1055 In January 1995, Greg McGary reemerged as the primary maintainer and
1056 launched development of 'mkid' version 3, whose primary new feature is
1057 an efficient algorithm for building databases that is linear in both
1058 time and space over the size of the input text. (The old algorithm was
1059 quadratic in space so it was incapable of handling very large source
1060 trees.) For the first time, the code was released under the GNU Public
1061 License.
1062
1063 In June 1996, the package was renamed again to 'id-utils' and was
1064 released for the first time under FSF copyright as part of the GNU
1065 system. All programs had their command-line arguments completely
1066 revised. The 'mkid' and 'xtokid' programs also gained a file-tree
1067 walker, so that directory names can be passed on the command line
1068 instead of the names of every individual file. Greg reorganized and
1069 rewrote most of the Texinfo manual to reflect these changes.
1070
1071 In 2006, Claudio Fontana modernized the build system and the code
1072 itself, and analyzed and integrated various pending patches. Package
1073 name had a minor change from 'id-utils' to 'idutils', to be more
1074 consistent with the other GNU package names.
1075
1076 Future releases of 'idutils' might include:
1077
1078 * an optional coupling with GNU 'grep', so that 'grep' can use an ID
1079 database for hints
1080
1081 * a 'cscope' work-alike query interface
1082
1083 * incremental update of the ID database.
1084
1085 
1086 File: idutils.info, Node: Index, Prev: Past and Future, Up: Top
1087
1088 Index
1089 *****
1090
1091 [index]
1092 * Menu:
1093
1094 * *compilation* Emacs buffer: Emacs gid interface. (line 19)
1095 * --ambiguous: lid invocation. (line 123)
1096 * --comment: Assembler scanner. (line 15)
1097 * --dtags: Perl scanner. (line 32)
1098 * --exclude: Extraction options. (line 24)
1099 * --exclude <1>: Text scanner. (line 20)
1100 * --exclude <2>: Perl scanner. (line 26)
1101 * --file: Reading options. (line 8)
1102 * --file <1>: Writing options. (line 15)
1103 * --files0-from=FILE: Walker options. (line 23)
1104 * --frequency: lid invocation. (line 108)
1105 * --help: Universal options. (line 7)
1106 * --ignore: C Cpp Java scanner. (line 25)
1107 * --ignore <1>: Assembler scanner. (line 30)
1108 * --ignore-case: lid invocation. (line 25)
1109 * --include: Extraction options. (line 17)
1110 * --include <1>: Text scanner. (line 15)
1111 * --include <2>: Perl scanner. (line 21)
1112 * --keep: C Cpp Java scanner. (line 16)
1113 * --keep <1>: Assembler scanner. (line 21)
1114 * --lang-map: Extraction options. (line 11)
1115 * --lang-option: Extraction options. (line 32)
1116 * --lang-option=asm:--comment: Assembler scanner. (line 15)
1117 * --lang-option=asm:--ignore: Assembler scanner. (line 30)
1118 * --lang-option=asm:--keep: Assembler scanner. (line 21)
1119 * --lang-option=asm:--no-cpp: Assembler scanner. (line 50)
1120 * --lang-option=asm:--strip-underscore: Assembler scanner. (line 40)
1121 * --lang-option=asm:-c: Assembler scanner. (line 15)
1122 * --lang-option=asm:-i: Assembler scanner. (line 30)
1123 * --lang-option=asm:-k: Assembler scanner. (line 21)
1124 * --lang-option=asm:-n: Assembler scanner. (line 50)
1125 * --lang-option=asm:-u: Assembler scanner. (line 40)
1126 * --lang-option=C:--ignore: C Cpp Java scanner. (line 25)
1127 * --lang-option=C:--keep: C Cpp Java scanner. (line 16)
1128 * --lang-option=C:--strip-underscore: C Cpp Java scanner. (line 35)
1129 * --lang-option=C:-i: C Cpp Java scanner. (line 25)
1130 * --lang-option=C:-k: C Cpp Java scanner. (line 16)
1131 * --lang-option=C:-u: C Cpp Java scanner. (line 35)
1132 * --lang-option=perl:--dtags: Perl scanner. (line 32)
1133 * --lang-option=perl:--exclude: Perl scanner. (line 26)
1134 * --lang-option=perl:--include: Perl scanner. (line 21)
1135 * --lang-option=perl:-d: Perl scanner. (line 32)
1136 * --lang-option=perl:-i: Perl scanner. (line 21)
1137 * --lang-option=perl:-x: Perl scanner. (line 26)
1138 * --lang-option=text:--exclude: Text scanner. (line 20)
1139 * --lang-option=text:--include: Text scanner. (line 15)
1140 * --lang-option=text:-i: Text scanner. (line 15)
1141 * --lang-option=text:-x: Text scanner. (line 20)
1142 * --literal: lid invocation. (line 31)
1143 * --no-cpp: Assembler scanner. (line 50)
1144 * --output: Writing options. (line 8)
1145 * --prune: Walker options. (line 17)
1146 * --regexp: lid invocation. (line 38)
1147 * --result: lid invocation. (line 84)
1148 * --separator: File listing options.
1149 (line 12)
1150 * --statistics: mkid invocation. (line 41)
1151 * --strip-underscore: C Cpp Java scanner. (line 35)
1152 * --strip-underscore <1>: Assembler scanner. (line 40)
1153 * --substring: lid invocation. (line 53)
1154 * --substring <1>: lid invocation. (line 59)
1155 * --verbose: mkid invocation. (line 47)
1156 * --version: Universal options. (line 11)
1157 * --word: lid invocation. (line 47)
1158 * -a: lid invocation. (line 123)
1159 * -c: Assembler scanner. (line 15)
1160 * -d: Perl scanner. (line 32)
1161 * -d <1>: lid invocation. (line 99)
1162 * -f: Reading options. (line 8)
1163 * -f <1>: Writing options. (line 15)
1164 * -F: lid invocation. (line 108)
1165 * -i: Extraction options. (line 17)
1166 * -i <1>: C Cpp Java scanner. (line 25)
1167 * -i <2>: Assembler scanner. (line 30)
1168 * -i <3>: Text scanner. (line 15)
1169 * -i <4>: Perl scanner. (line 21)
1170 * -i <5>: lid invocation. (line 25)
1171 * -k: C Cpp Java scanner. (line 16)
1172 * -k <1>: Assembler scanner. (line 21)
1173 * -k <2>: lid invocation. (line 59)
1174 * -l: Extraction options. (line 32)
1175 * -l <1>: lid invocation. (line 31)
1176 * -l asm:--comment: Assembler scanner. (line 15)
1177 * -l asm:--dtags: Perl scanner. (line 32)
1178 * -l asm:--ignore: Assembler scanner. (line 30)
1179 * -l asm:--keep: Assembler scanner. (line 21)
1180 * -l asm:--no-cpp: Assembler scanner. (line 50)
1181 * -l asm:--strip-underscore: Assembler scanner. (line 40)
1182 * -l asm:-c: Assembler scanner. (line 15)
1183 * -l asm:-d: Perl scanner. (line 32)
1184 * -l asm:-i: Assembler scanner. (line 30)
1185 * -l asm:-k: Assembler scanner. (line 21)
1186 * -l asm:-n: Assembler scanner. (line 50)
1187 * -l asm:-u: Assembler scanner. (line 40)
1188 * -l C:--ignore: C Cpp Java scanner. (line 25)
1189 * -l C:--keep: C Cpp Java scanner. (line 16)
1190 * -l C:--strip-underscore: C Cpp Java scanner. (line 35)
1191 * -l C:-i: C Cpp Java scanner. (line 25)
1192 * -l C:-k: C Cpp Java scanner. (line 16)
1193 * -l C:-u: C Cpp Java scanner. (line 35)
1194 * -l perl:--exclude: Perl scanner. (line 26)
1195 * -l perl:--include: Perl scanner. (line 21)
1196 * -l perl:-i: Perl scanner. (line 21)
1197 * -l perl:-x: Perl scanner. (line 26)
1198 * -l text:--exclude: Text scanner. (line 20)
1199 * -l text:--include: Text scanner. (line 15)
1200 * -l text:-i: Text scanner. (line 15)
1201 * -l text:-x: Text scanner. (line 20)
1202 * -m: Extraction options. (line 11)
1203 * -n: Assembler scanner. (line 50)
1204 * -o: Writing options. (line 8)
1205 * -o <1>: lid invocation. (line 99)
1206 * -p: Walker options. (line 17)
1207 * -r: lid invocation. (line 38)
1208 * -R: lid invocation. (line 84)
1209 * -S: File listing options.
1210 (line 12)
1211 * -s: mkid invocation. (line 41)
1212 * -s <1>: lid invocation. (line 53)
1213 * -u: C Cpp Java scanner. (line 35)
1214 * -u <1>: Assembler scanner. (line 40)
1215 * -v: mkid invocation. (line 47)
1216 * -w: lid invocation. (line 47)
1217 * -x: Extraction options. (line 24)
1218 * -x <1>: Text scanner. (line 20)
1219 * -x <2>: Perl scanner. (line 26)
1220 * -x <3>: lid invocation. (line 99)
1221 * alphabetic case, ignoring differences in: lid invocation. (line 25)
1222 * ambiguous identifier names, finding: lid invocation. (line 123)
1223 * architecture-independence: mkid invocation. (line 6)
1224 * assembler scanner: Assembler scanner. (line 6)
1225 * assembly language scanner: Assembler scanner. (line 6)
1226 * beginning-of-word editor argument: eid invocation. (line 59)
1227 * Berry, Karl: Past and Future. (line 20)
1228 * bugs, reporting: Introduction. (line 60)
1229 * C scanner, predefined: C Cpp Java scanner. (line 6)
1230 * common command-line options: Common options. (line 6)
1231 * creating databases: mkid invocation. (line 6)
1232 * cron: mkid invocation. (line 23)
1233 * cscope: Past and Future. (line 52)
1234 * databases, creating: mkid invocation. (line 6)
1235 * eid: eid invocation. (line 6)
1236 * EIDARG: eid invocation. (line 55)
1237 * EIDLDEL: eid invocation. (line 59)
1238 * EIDRDEL: eid invocation. (line 65)
1239 * Emacs interface to gid: Emacs gid interface. (line 6)
1240 * end-of-word editor argument: eid invocation. (line 65)
1241 * exclude languages: Extraction options. (line 24)
1242 * fid: fid invocation. (line 6)
1243 * file name separator: File listing options.
1244 (line 12)
1245 * file tree pruning: Walker options. (line 17)
1246 * filenames, matching: fnid invocation. (line 6)
1247 * fnid: fnid invocation. (line 6)
1248 * future: Past and Future. (line 52)
1249 * gid: gid invocation. (line 6)
1250 * gid Emacs function: Emacs gid interface. (line 15)
1251 * grep: Past and Future. (line 52)
1252 * help, online: Universal options. (line 7)
1253 * history: Past and Future. (line 6)
1254 * Horsley, Tom: Past and Future. (line 20)
1255 * ID database file name: Reading options. (line 8)
1256 * ID database file name <1>: Reading options. (line 15)
1257 * ID database file name <2>: Writing options. (line 8)
1258 * ID database file name <3>: Writing options. (line 15)
1259 * ID database, definition of: Introduction. (line 6)
1260 * ID file format: mkid invocation. (line 6)
1261 * idutils.el interface to Emacs: Emacs gid interface. (line 6)
1262 * ignoring differences in alphabetic case: lid invocation. (line 25)
1263 * include languages: Extraction options. (line 17)
1264 * introduction: Introduction. (line 6)
1265 * language map file: Extraction options. (line 11)
1266 * language-specific option: Extraction options. (line 32)
1267 * languages_0: Defining scanners. (line 6)
1268 * left delimiter editor argument: eid invocation. (line 59)
1269 * Leonard, Bill: Past and Future. (line 20)
1270 * lisp scanner: Lisp scanner. (line 6)
1271 * load-path: Emacs gid interface. (line 6)
1272 * look and mkid 1: Past and Future. (line 6)
1273 * matching filenames: fnid invocation. (line 6)
1274 * McGary, Greg: Past and Future. (line 6)
1275 * mkid progress: mkid invocation. (line 47)
1276 * numeric matches, specifying radix of: lid invocation. (line 99)
1277 * overview: Introduction. (line 6)
1278 * perl scanner: Perl scanner. (line 6)
1279 * radix of numeric matches, specifying: lid invocation. (line 99)
1280 * right delimiter editor argument: eid invocation. (line 65)
1281 * scanners: Extraction options. (line 48)
1282 * scanners, defining in source code: Defining scanners. (line 6)
1283 * scanners.c: Defining scanners. (line 6)
1284 * Scofield, Doug: Past and Future. (line 20)
1285 * search for token, initial: eid invocation. (line 55)
1286 * searching files, grep: gid invocation. (line 6)
1287 * sharing ID files: mkid invocation. (line 6)
1288 * single matches, showing: lid invocation. (line 108)
1289 * statistics: mkid invocation. (line 41)
1290 * text scanner: Text scanner. (line 6)
1291 * tokens common to two files: fid invocation. (line 6)
1292 * tokens in a file: fid invocation. (line 6)
1293 * version number, finding: Universal options. (line 11)
1294
1295
1296 
1297 Tag Table:
1298 Node: Top1459
1299 Node: Introduction2265
1300 Node: Quick start4782
1301 Node: Common options5709
1302 Node: Universal options6507
1303 Node: Reading options6836
1304 Ref: Reading options-Footnote-17843
1305 Node: Writing options7967
1306 Node: Walker options8466
1307 Node: File listing options9787
1308 Node: Extraction options10908
1309 Node: Language map13789
1310 Node: C Cpp Java scanner15969
1311 Node: Assembler scanner17605
1312 Node: Text scanner19714
1313 Node: Perl scanner20527
1314 Node: Lisp scanner21693
1315 Node: Defining scanners22262
1316 Node: mkid invocation23487
1317 Node: lid invocation25769
1318 Ref: lid invocation-Footnote-131063
1319 Node: lid aliases31143
1320 Node: Emacs gid interface31824
1321 Node: eid invocation32734
1322 Node: fid invocation35321
1323 Node: fnid invocation36008
1324 Node: gid invocation36680
1325 Node: xtokid invocation37082
1326 Node: Past and Future38019
1327 Node: Index40964
1328 
1329 End Tag Table