open PASSWD, "ypcat passwd|"; while () { print; } close PASSWD;