in reply to traverse through passwd file, and split fields to extract UID/GID
G'day intoperl,
Welcome to the monastery.
There's builtin functions to do this. No need to reinvent this particular wheel. Try this from your command line:
$ perldoc -f getpwent
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: traverse through passwd file, and split fields to extract UID/GID
by intoperl (Acolyte) on Apr 23, 2014 at 13:15 UTC | |
by kcott (Archbishop) on Apr 23, 2014 at 13:46 UTC |