Hello, every one!
Is there any script that can parse and export log files?
E.g.
A log file contains:
0 ### Log session started at Sun Feb 21 00:00:00 2010 ###
20 [0:03:25]
!n
VARieme
[~tfel@
!h
94.71.189.252
] has joined
!c
#linux
25 [0:03:28] <12,15
!nc
VARieme
> kek0r
25 [0:03:42] <12,15
!nc
VARieme
> sto ALTER exei xardavela se treles katastaseis

34 [0:06:53]
!n
The displayed text on the window is:
### Log session started at Sun Feb 21 00:00:00 2010 ###
[0:03:25] VARieme [~tfel@94.71.189.252] has joined #linux
[0:03:28] <VARieme> kek0r
[0:03:42] <VARieme> sto ALTER exei xardavela se treles katastaseis

So... Is there any script that can parse the log file and export a file as it is displayed on a window? I know that I can always c/p the text, but when there are some hundreds of log files...
I had a look at the source code, but I couldn't locate the part that the log viewer "decodes" log files.