Log2hgr.Sh

#!/bin/bash
# Script to transform GAIM-style logs to their hgr-compatible equivalents. Still using that sed-script written by Blx :)
# This version does some slight sanity-checking before starting to chew log files

if [ $# == 2 ]
then
                cat $1 | sed 's/([0-9][0-9]:[0-9][0-9]:[0-9][0-9]) \(.*\): \(.*\)/;\1: \2/' > $2
else
                echo "incorrect parameter. usage: log2hgr <infile> <outfile>. NB you might want to specify full paths"
fi
Ja, det är inte så leet, men NB I'm learning.

Se även datorer tjafs.