bug-global
[Top][All Lists]
Advanced

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

New option for gtags(1), --max-args=max-args, -n max-args


From: Shigio YAMAGUCHI
Subject: New option for gtags(1), --max-args=max-args, -n max-args
Date: Mon, 25 Jul 2005 18:00:41 +0900

Now, the CVS version of gtags has the --noxargs option.
Since I have understood that Iwamoto san's new code doesn't use xargs(1),
I would like to replace the --noxargs option with new one.
(Sorry, it is me who proposed the --noxargs option.)

How about using xargs(1)'s --max-args=max-args, -n max-args option?
Following is the description of the option derived from from GNU findutils:

xargs(1)
       --max-args=max-args, -n max-args
              Use  at  most  max-args arguments per command line.

I think this option is also suitable for gtags(1).

The user can coordinate the number thinking about the trade-off:

--------+-----------------------------------------
max-args|       efficiency      profitable logging
--------+-----------------------------------------
larger  |       better          worse
smaller |       worse           better
--------+-----------------------------------------

I don't know what the default value should be. It should be decided
until the next release as the consequence of the trial and error.

What do you think?
If there is no opposite, I will implement it.
--
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]