Re: [PATCH] Add test-tr: poor-man tr

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

 



Jeff King, Fri, Jun 13, 2008 08:02:15 +0200:
> On Thu, Jun 12, 2008 at 10:32:45PM +0200, Alex Riesen wrote:
> 
> > That was the problem. ActiveState Perl always replaces LF in the
> > output with CRLF, which caused mismatches with template files in some
> > tests (even the generated templates had LF line endings, cygwins tools
> > follow that convention). At first, I tried to get by putting
> > "binmode(STDOUT)" into every test, but this became boring with a time.
> > Besides, the lines get very long and ugly (and make conflict resolving
> > harder).
> 
> Does ActiveState respect the PERLIO environment variable? I haven't
> played with it much, but my understanding is that setting
> PERLIO=:unix:perlio should give you sane behavior (the default on
> Windows should be PERLIO=:unix:crlf).

I didn't know about it (and managed to miss it when I looked to
workaround the problem. I even looked into the manpage documenting
environment variables!)

Yes, it works. It has side effects (the scripts of some build
processes will be affected), but that's already something...

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux