On Apr 22, 2009, at 11:11 AM, Dustin Frazier wrote:
> ... fix the underlying issue.
Whatever you are editing the files with adds them when it saves it,
it's windows, it's what it does.
Many editors have configurable cleanup options or some way to not get
them saved but it will
happen sometimes when you work with files on windows.
> On Apr 22, 2009, at 6:13 AM, Lee.M wrote:
>
>>>
>>> HTML file has an extra *two* carriage returns (control-M) at the end
...
>>> 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