Re: [COMMIT] Accept "\r\n" line-endings on all hosts

Andrew Cagney
2004-10-14T19:09:43Z

> Date: Thu, 14 Oct 2004 09:47:11 -0400
> From: Andrew Cagney <cagney@gnu.org>
>
> > In the discussion about elimination of the Cygwin and DJGPP xm.h files
> > we seemed to have reached agreement on this. Actually this is a real
> > improvement, since it will allow you to execute scripts copied from a
> > system using the MS-DOS convention without converting them.
>
> Can this be tested? A one line uuencoded script comes to mind.
>
> Yup should be doable. No uuencoding necessary I think. Unless CVS
> silently changes \r\n into \n.

I suspect, dependant on how the file is created in CVS, that: UNIX ci;
dos co; dos tweak; dos ci; UNIX co; might do it.

I was actually more worried by human error. I suspect a few lines of
tcl that just generate the file are easiest.

Andrew