OSDN Git Service

zen in #938 writes:
authorMike Frysinger <vapier@gentoo.org>
Sat, 5 Jan 2008 07:06:08 +0000 (07:06 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 5 Jan 2008 07:06:08 +0000 (07:06 -0000)
commit3ea0aa46f70e85a7cd97b278831b73ec46cb71f6
treedfa33056c953a912124e06a85ca83e61a00f0a91
parentee438a1eb65d4092116df23ce029fa98bc5ea162
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]
extra/scripts/getent