On 6/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On Jun 21, 1:10 pm, [EMAIL PROTECTED] (Chas Owens) wrote:
> print $out $_ unless $h{(split ':')[0]}++;
Just curious - why are you coding around possible duplicates? Can a
passwd file have duplicate entries?
This is a part of a larger code which does other things such as
merging a few /etc/passwd files together by appending at the bottom
and sort unique then place it back on /etc/passwd.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/