This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[NEW PATCH] Re: getconf default output


On Tue, Aug 31, Andreas Schwab wrote:

> Ulrich Drepper <drepper@redhat.com> writes:
> 
> > Nix wrote:
> >
> >> What might make sense is printing out the names without the values,
> >
> > That's not much use.
> 
> I disagree.  It often happens to me that I'm looking for a specific
> parameter but can't remember exactly how it is spelled.  Getting the list
> of all names from running getconf is much faster than looking them up in
> the manual.  So at least having an option to print the list would be
> useful, IMHO.

Since other Unix like Solaris also have such an option and people
are asking for it, I bring this up again with an adjusted patch
we use already for SuSE Linux.
Like on Solaris I added the option "-a", which Writes the names of
the current configuration variables to the standard output.

I see only benefits from this patch, no disadvantages.

  Thorsten


-- 
Thorsten Kukuk         http://www.suse.de/~kukuk/      kukuk@suse.de
SuSE Linux Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

Attachment: glibc-2.3.4-getconf-default_output.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]