bug-global
[Top][All Lists]
Advanced

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

Re: Enhance the support for specifying directories and files to gtags


From: Shigio YAMAGUCHI
Subject: Re: Enhance the support for specifying directories and files to gtags
Date: Sun, 30 Sep 2007 21:40:57 +0900

Hello,
>   At present, the -f option to gtags only allows file names.  
>   Please consider supporting gtags to be called with a list 
>   of project directories, perhaps:
>     gtags -p /path/first/project,/path/second/project [dbpath]

The -f option of gtags assumes find(1) command.
You can invoke gtags with find like follows:

      find path/first/project path/second/project -type f -print | gtags -v -f -

>   Also, consider supporting wild-card based options for to \
>   exclude files and directories.
> 
>   More generally:
> 
>   The directory specification for rsync 
> http://rsync.samba.org/ftp/rsync/rsync.html
>   gives the user lots of control over the various directories and 
>   files involved in the rsync command.  It would help if gtags
>   gave the user more control over the project directories and files.

I think that you should leave the selection of file list to some independent 
command
like find(1). Find(1) has RICH options to make file list. Please see man 
find(1).
--
Shigio YAMAGUCHI <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

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