This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: UNIX versus DOS Line ending


--- 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
archives.

> 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.
http://im.yahoo.com

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]