#!/bin/bash

while read x; do
    echo -n `date +%d/%m/%Y\ %H:%M:%S`;
    echo -n " ";
    echo $x | sed -e "s/\x1b\[.\{1,5\}m//g";
done
