>
> HTML file has an extra *two* carriage returns (control-M) at the end
> of each line. Not a show-stopper, but it does make the files larger,
> and they look a little silly when you view source in a browser. It
> also wreaks havoc on the diff tool I use to detect changes on the live
> website.
>
> Anyone have any idea A) what's going on, and/or B) how best to debug
> this?

^M is a windows sort-of-kind-of-carriage return::

Something simple like this will clean them up:

     perl -pi -e 'my $m = chr(13);s{$m}{}g;' file/in/question

HTH :)

--
Lee.M

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to