in reply to how to swap data from files

perl -pe 's{$(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)}{$1/$2/$3 $4:$5}' one. +txt > another.txt

Replies are listed 'Best First'.
Re^2: how to swap data from files
by cpiety (Novice) on Feb 02, 2005 at 21:32 UTC
    thanks, it seems to be working great. I guess I did not need to create another file with the date/time formatt that I was interested in.

    Charles