[uClibc 0000938]: getent: minor feature additions and code clean-up

bugs at busybox.net bugs at busybox.net
Mon Jul 10 09:20:45 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=938 
====================================================================== 
Reported By:                zen
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   938
Category:                   New Features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             07-08-2006 17:08 PDT
Last Modified:              07-10-2006 02:20 PDT
====================================================================== 
Summary:                    getent: minor feature additions and code clean-up
Description: 
I had occasion to look at the uClibc script "getent" and felt compelled to
clean out the cargo-cult programming style.  I believe that this version
is clearer, and I've added some minor features while I was in there:
  * usage clause, if no arguments or "--help" requested
  * original version appears to have been intending to "exit 2" on failure
to match, but didn't
  * basic, probably good enough, support for ethers and netgroups
  * faster ;-)   [as if that matters for this script]
====================================================================== 

---------------------------------------------------------------------- 
 psm - 07-10-06 02:20  
---------------------------------------------------------------------- 
Anything you do the script should behave as the getent binary from glibc
I don't really see the need for NIS related stuff 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-08-06 17:08  zen            New Issue                                    
07-08-06 17:08  zen            Status                   new => assigned     
07-08-06 17:08  zen            Assigned To               => uClibc          
07-08-06 17:08  zen            File Added: getent                           
07-10-06 02:20  psm            Note Added: 0001505                          
======================================================================




More information about the uClibc-cvs mailing list