diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-01-05 07:06:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-01-05 07:06:08 +0000 |
commit | 3ea0aa46f70e85a7cd97b278831b73ec46cb71f6 (patch) | |
tree | dfa33056c953a912124e06a85ca83e61a00f0a91 /libc/misc | |
parent | ee438a1eb65d4092116df23ce029fa98bc5ea162 (diff) |
zen in #938 writes:
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]
Diffstat (limited to 'libc/misc')
0 files changed, 0 insertions, 0 deletions