UNIX versus DOS Line ending

Earnie Boyd earnie_boyd@yahoo.com
Thu Jan 20 05:14:00 GMT 2000

--- Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> wrote:
> Hallo,
> for those livin in a mixed Unix/Dos environment, the (bad) habbit of
> Dos/Windows programs to replace LF with CR/LF has probably caused
> grief before. Especially Macros going over several lines get unreadable.
> Couldn't we make GCC swallow CR/LF?

It already does!!  But, you have to be in "Text Mode Processing".  See the

> Would such a patch have chances to get into the standard GCC?

Depends on the patch and your assignment forms acceptance.  A nice feature
would be to have an "Auto Mode Processing" such that \n, \r\n, or \r gets used
automatically based on the content of the file.

Earnie Boyd < mailto:earnie_boyd@yahoo.com >
Cygwin Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.

Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

More information about the Cygwin mailing list