fish-shell/fish-shell — pull request #408 by zanchey (2012-11-27 05:06:52+00:00)
Title: use getent for name services where available

Rather than directly trying to parse /etc/{passwd,group,hosts} we should use getent where it is available.

These patches also tidy up the direct parsing of /etc/hosts.