Re: hello-2.1.91 and CR/LF

2006-08-29 Thread Karl Berry
> Can we easily get cat>foo (or some equivalent) to produce CRLF files? I guess I meant, "can we get cat>foo (or some equivalent)" to produce CRLF files *when hello does*. That is, to get some standard command to operate in text mode under mingw[/cygwin/whatever]. Does echo also operate in b

Re: hello-2.1.91 and CR/LF

2006-08-29 Thread Ralf Wildenhues
Hello Karl, * Karl Berry wrote on Mon, Aug 28, 2006 at 08:31:37PM CEST: > > However, on MinGW all three tests fail because the program outputs CRLF > > line endings, while the test suite creates files with LF ending. > > Um, why? That is, why does cat>foo produce LF files while hello>foo

Re: hello-2.1.91 and CR/LF

2006-08-28 Thread Karl Berry
> However, on MinGW all three tests fail because the program outputs CRLF > line endings, while the test suite creates files with LF ending. Um, why? That is, why does cat>foo produce LF files while hello>foo produces CRLF files? Is this different in MinGW than under Cygwin? (I'm probab

Re: hello-2.1.91 and CR/LF

2006-08-25 Thread Bruno Haible
Karl Berry wrote: > Or produce output with CR/LF always, > > Really? That seems wrong to me for Hello (and just about any other > program). Just running hello on a Unixish system shouldn't write a \r! Not on Unix systems, of course. But on Woe32 systems, writing text with CR/LF is the norm

Re: hello-2.1.91 and CR/LF

2006-08-25 Thread Karl Berry
Some programs, which produce output from given input Ack. accept a --binary option Ick. Or produce output with CR/LF always, Really? That seems wrong to me for Hello (and just about any other program). Just running hello on a Unixish system shouldn't write a \r! have the te

Re: hello-2.1.91 and CR/LF

2006-08-25 Thread Bruno Haible
Karl Berry wrote: > However, on MinGW all three tests fail because the program outputs CRLF > line endings, while the test suite creates files with LF ending. > (Not sure if you want to worry about this...) > > Not sure if I do either. What do other (real) programs do? Some programs