Jim Battle wrote: > Andy Wardley wrote: >> Jim Battle wrote: <snip />
> What does seem wrong is that a file that is obeying the convention of > the host it is on would not result in a binary identical output file if > the template rules are nothing but a pass-through. It should be as if I > had used a copy command. Not that it will help, and will probably confuse the issue, but I can say I have seen situations where for some reason instead of a <CR><LF> line ending a <LF><CR> was generated. This happened on several systems but there was no correlation between then except if memory serves me right it was where Windows (and maybe Perl) were involved. The only reason I know this happened is I passed the file through xxd and saw it. Neither emacs nor vi saw it the same and each handled it differently. Too bad I don't have access to that code any more. Good luck, Rod -- > Backing up a bit, it would seem to me that setting binmode=1 (enabling > binary mode) would be the right thing -- I don't want any special > munging of line endings or special processing of CTRL-Z. > > Aha, if I use --binmode=1, then I get what I want. It seems to me that > this should be enabled by default when the platform is windows. > > Thanks for the help. > > _______________________________________________ > templates mailing list > templates@template-toolkit.org > http://mail.template-toolkit.org/mailman/listinfo/templates _______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates