bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

output format of global -f


From: Hideki IWAMOTO
Subject: output format of global -f
Date: Tue, 28 Jun 2005 23:54:08 +0900

Since sorting filter is not used in "global -f", the order of output
depends on parser. 

- The output of gtags-parser is not sorted. It can be considered as
  sorted by file name and line number.
- The output of Emacs ctags is sorted by symbol name.
- The output of Exuberant ctags is sorted by the default. 
  But sorting may be disabled by command line option.

Is this OK?

$ global -f global/global.c gtags/gtags.c htags/htags.c | head
ARG_MAX            52 global/global.c #define ARG_MAX           
sysconf(_SC_ARG_MAX)
usage             104 global/global.c usage(void)
help              111 global/global.c help(void)
setcom            152 global/global.c setcom(c)
main              161 global/global.c main(argc, argv)
makefilter        546 global/global.c makefilter(sb)
openfilter        564 global/global.c openfilter(void)
closefilter       578 global/global.c closefilter(op)
completion        593 global/global.c completion(dbpath, root, prefix)
printtag          623 global/global.c printtag(op, line)
$ env GTAGSLABEL=ctags-emacs global -f global/global.c gtags/gtags.c 
htags/htags.c| head
ARG_MAX           52 global/global.c #define ARG_MAX
append_options   1413 htags/htags.c  append_options(
basic_check      959 htags/htags.c  basic_check(
clean            269 htags/htags.c  clean(
closefilter      578 global/global.c closefilter(
completion       593 global/global.c completion(
configuration    990 htags/htags.c  configuration(
copyfile         809 htags/htags.c  copyfile(
createtags       891 gtags/gtags.c  createtags(
duplicatefile    836 htags/htags.c  duplicatefile(
$ env GTAGSLABEL=ctags-exuberant global -f global/global.c gtags/gtags.c 
htags/htags.c | head
ARG_MAX            52 global/global.c #define ARG_MAX sysconf(_SC_ARG_MAX)
sortfilter         73 global/global.c STRBUF *sortfilter; /* sort filter */
pathfilter         74 global/global.c STRBUF *pathfilter; /* path convert 
filter */
localprefix        75 global/global.c const char *localprefix; /* local prefix 
*/
aflag              76 global/global.c int aflag; /* [option] */
cflag              77 global/global.c int cflag; /* command */
fflag              78 global/global.c int fflag; /* command */
gflag              79 global/global.c int gflag; /* command */
Gflag              80 global/global.c int Gflag; /* [option] */
iflag              81 global/global.c int iflag; /* [option] */

----
Hideki IWAMOTO  address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]