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 | cut -d: -f3`;

what do you need, exactly? trying to parse /etc/passwd?
take a look at sample in
perldoc -f split

Best wishes,
 Maxim                            mailto:[EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to