Same thing hippo did but more idiomatic and less readable. :P
say join ",", "hostname", $user =~ /^([^:]+)/gm;
In reply to Re^3: parse /etc/passwd and output it as csv in hundred servers
by Your Mother
in thread parse /etc/passwd and output it as csv in hundred servers
by garcimo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |