-
+ D6C6FB0C6C00F85A0665614BFFA30CD804BCF49E55CE78D58F8C744B7CBAC8657FCCAD1D6ED5A47A85BA11E71F2E583775D7E4FC36980B5AF8F7958C28802CC7
logotron/logconverters/irssi2tmsr/README.TXT
(0 . 0)(1 . 13)
18 August, 2019
19
20 This is a quick'n'dirty AWK one-line script that successfully converted an irssi irc log into the tmsr format that the logotron uses.
21
22 1. The bash script expects one single parameter that is the starting index (i.e. the index of the first line in the log). E.g. ./convert.sh 100 will produce lines numbered 100, 101, 102 etc.
23
24 2. Examples of use:
25 ./convert.sh 99384 < inputfile > outputfile
26 sh convert.sh 10001 < inputfile > outputfile
27
28 3. Caveats:
29 - the converter expects months to be recorded numerically in the input file (e.g. 8, 9 instead of Aug, Sep); if your irssi log uses names for months then you'll need to either update the converter or convert month names to numbers separately, as a pre-converter step.
30 - based on the previous raw awk version published at http://logs.nosuchlabs.com/log/trilema/2019-08-11#1927486 and tested *only* on one irssi log of #ossasepia (result can be seen at: deedbot.org/deed-589684-1.txt )