Re[2]: UID's

2001-12-04 Thread Maxim Berlin
Hello Christo, Tuesday, December 04, 2001, Christo Rademeyer <[EMAIL PROTECTED]> wrote: CR> Thanks CR> got mine like this. CR> open (TFH," @data = ; CR> foreach $line(@data) { CR> ($user,$pass,$uid,$gid,$info,$home,$type) = split /:/, $line; CR> } CR> $a = ($uid + 1); CR> bit shitty i

Re: UID's

2001-12-04 Thread Christo Rademeyer
> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 3:44 PM Subject: Re: UID's > Hello Christo, > > Tuesday, December 04, 2001, Christo Rademeyer <[EMAIL PROTECTED]> wrote: > > CR> Hi how can I do this in perl ? srdof the same thing? > CR> tail

Re: UID's

2001-12-04 Thread Maxim Berlin
Hello Christo, Tuesday, December 04, 2001, Christo Rademeyer <[EMAIL PROTECTED]> wrote: CR> Hi how can I do this in perl ? srdof the same thing? CR> tail -n5 /etc/passwd | cut -d: -f3 CR> <- = ->> CR> 23 CR> 77 CR> 100 CR> 501 CR> 501 for example, you can write my @uids=`tail -n5 /etc/passwd |

UID's

2001-12-04 Thread Christo Rademeyer
Hi how can I do this in perl ? srdof the same thing? tail -n5 /etc/passwd | cut -d: -f3 <- = -> 23 77 100 501 501 Thanx -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]