[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] Gotta love perl...



$ head -100 Bookrq_Trace_2009-02-09_1.txt  > j
$ perl -pi -e 's/\r\n//g' j
$ perl -pi -e 's/\|\|[^ -~]\d\d:\d\d/\n/g' j
Another 5 minute assault on a multi-GB Windows file with funky delimiters...
 
Laugh,
 
j