RE: Sorting a list by...

2002-08-12 Thread Kipp, James
> > > > But ... I have no idea on how to dealing with this > even... so can't help.. sorry... If the user has access to a relational db, why not load the file into that (Oracle, Mysql) and then use perl DBI to deal with it and save alot of headaches -- To unsubscribe, e-mail: [EMAIL PROTEC

Re: Sorting a list by...

2002-08-10 Thread Connie Chan
[] [] > or die "Couldn't open $log!"; > while ($line = ) { > if ($line =~ /byte/i) { print $line } > } > close (FILE); Hi all, for the above lines. I guess the OP gentleman is not dealing with a 1GB log for what he asked. He had writtern something for picking up those lines

Re: Sorting a list by...

2002-08-10 Thread Robin Norwood
Kevin Pfeiffer <[EMAIL PROTECTED]> writes: > Robin Norwood writes: > > Samuel Brown <[EMAIL PROTECTED]> writes: > > > Hi ya, > > > > > > I'm teaching myself Perl and I have a log file around 1GB that I need > > > to sort by month | date | time | byte size. So far I have parse the log > > > for "b

Re: Sorting a list by...

2002-08-10 Thread Janek Schleicher
Samuel Brown wrote at Sat, 10 Aug 2002 00:07:34 +0200: > I'm teaching myself Perl and I have a log file around 1GB that I need to sort > by month | date | time | byte size. So far I have parse the log for "bytes" > since this is all that I need but I can't get it to sort like I want. > > Here

Re: Sorting a list by...

2002-08-09 Thread Kevin Pfeiffer
Robin Norwood writes: > Samuel Brown <[EMAIL PROTECTED]> writes: > > Hi ya, > > > > I'm teaching myself Perl and I have a log file around 1GB that I need > > to sort by month | date | time | byte size. So far I have parse the log > > for "bytes" since this is all that I need but I can't get it to

Re: Sorting a list by...

2002-08-09 Thread Robin Norwood
Samuel Brown <[EMAIL PROTECTED]> writes: > Hi ya, > > I'm teaching myself Perl and I have a log file around 1GB that I need to sort > by month | date | time | byte size. So far I have parse the log for "bytes" > since this is all that I need but I can't get it to sort like I want. Well... Fi