`mkid' TODO - Future directions * Portability - Fix filenames.c to handle non-UNIX file names properly (notably DOS & OS/2). - Fix assumption that (sizeof (int) == sizeof (long)) * all query interfaces - add environment variable for setting default ID file name. * lid - use "long long" (if the compiler supports it) integer comparisons in find_number(). - generalize the command-line interface for different behaviors. User passes a command-format string for operating on the results of a query: %p = pattern, %f = crunched file list, %F = uncrunched file list filename list options: {,} -vs- expanded; space -vs- newline separator pattern list options: tokens -vs- regexp Recommend the following aliases to emulate old behavior: alias lid="findid --format='echo %p %f'" alias eid="findid --format='vi +/\\<%p\\>/ %F'" # for vi users alias gid="findid --format='egrep \\<%p\\> %F'" alias aid="findid --format='fgrep -i %p %F'" alias pid="findid --format='echo %p %f' -f" alias fid="findid --format='echo %t ' -f" * mkid & lid - store & retrieve floating point literals - automatically crack (optionally gzipped or compressed) tar files, so you can index and search archived source without having to unpack it. * mkid - (Optinally?) store tokenized contents of comments. - Store attributes with symbols: type, func, variable struct-tag enum-tag, keyword, etc. Store caller/callee relationships between identifiers. Indicate which files have defns vs. uses. This info is needed to support a cscope interface. - Add times(2) results to statistics output. - treat \ specially for TeX files and do likewise with @ for Texinfo. * gscope - add a cscope work-alike query interface - rewrite scanners to be scanner/parsers that can distinguish defn from use, lvalues from rvalues, types from vars from funcs from macros. * grep - Hack GNU grep to use a mkid database for hints about which files to search. Local Variables: mode: text fill-column: 75 End: