Lists

C. Abney cabney at cyberpass.net
Sat May 27 19:52:38 CDT 2000


~sdpm~
Heheh, Bob and I came up with this (and here's your ST):

perl -e 'for (map {$_->[0]} sort {$a->[3]<=>$b->[3]||$a->[1]<=>$b->[1]||$a->[2]<=>$b->[2]||$a->[4]<=>$b->[4]||$a->[5]<=>$b->[5]||$a->[6]<=>$b->[6]} map {[$_,split /[\/\s+:]/]} (<>)) {print};' < data

(0)[0105]$ cat data
5/25/2000 17:28:37 HostA 2250.16 2136.20 0  0
5/25/2000 17:28:52 HostB 905.77 928.76 0  0
5/25/2000 17:29:11 HostC 3632.60 3300.78 0  0
5/25/2000 18:28:37 HostA 2250.16 2136.20 0  0
5/25/2000 18:28:52 HostB 905.77 928.76 0  0
5/25/2000 18:28:52 HostB 905.77 928.76 0  0
5/25/2000 18:29:11 HostC 3632.60 3300.78 0  0
(0)[0105]$

CA
-- 
Einstein himself said that God doesn't roll dice. But he was wrong. And
in fact, anyone who has played role-playing games knows that God
probably had to roll quite a few dice to come up with a character like
Einstein.  -- Larry Wall                                     C. Abney


~sdpm~

The posting address is: san-diego-pm-list at hfb.pm.org

List requests should be sent to: majordomo at hfb.pm.org

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.




More information about the San-Diego-pm mailing list