pingme8705 has asked for the wisdom of the Perl Monks concerning the following question:
i have tried the formats like (\d\d)[-:](\d\d)[-:](\d\d)\s but unable to get the time. Any suggestions ?logging to device1 is 2.3.5.1 . . . 56% /var 38% / 31% Interleaved disks faults avm fre cs us sy id 504956 19880 32 3 24 72 device1 Tue Sep 9 11:26:44 ist 2005 logging to device2 is 2.3.5.1 . . . 96% /var 88% / 100% Interleaved disks faults avm fre cs us sy id 5049 198 32 3 24 72 device2 Tue Sep 5 10:26:44 GMT 2005
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: matching the date and time
by castaway (Parson) on Sep 11, 2005 at 10:31 UTC | |
by pingme8705 (Acolyte) on Sep 11, 2005 at 10:38 UTC | |
by davidrw (Prior) on Sep 11, 2005 at 15:12 UTC | |
by pingme8705 (Acolyte) on Sep 12, 2005 at 08:56 UTC | |
|
Re: matching the date and time
by monarch (Priest) on Sep 11, 2005 at 13:43 UTC | |
by pingme8705 (Acolyte) on Sep 12, 2005 at 08:55 UTC | |
by pingme8705 (Acolyte) on Sep 15, 2005 at 02:25 UTC |