in reply to Re: Re: Peruse my code...
in thread Peruse my code...
#!/usr/bin/perl @file = `ls /var/log/accounts`; foreach $file { open(FILE, "<$file") || die; @account=<FILE>; close(FILE); foreach $account { ($username, $domain, $email, $service) = split(/,/, $account); # # Insert rest of my code here # } unlink $file; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Peruse my code...
by jepri (Parson) on Aug 31, 2002 at 14:18 UTC | |
by jimbobn (Novice) on Aug 31, 2002 at 14:24 UTC | |
by jepri (Parson) on Aug 31, 2002 at 14:35 UTC |