I tried Lee's solution and it works, perl -pi -e 'my $m = chr(13);s{$m}{'\\\n'}g;' filename
I replaced the carriage return with a newline character. Johnny Gebreselassie _______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates