[wp-hackers] The same could be said for DOS-style newlines.

David House dave at xmouse.ithium.net
Mon Aug 30 17:11:45 UTC 2004


Quoting lowmagnet <lowmagnet at lowmag.net>:

> While it's easy to remove the DOS newlines from code, I'd rather they not be
> in there in the first place. 
> 
> I don't like seeing code that goes:
> 
> print('foo');^M
> 
> When I'm editing. In vi, this is easy to fix:
> 
> 1,$s/<ctrl-v ctrl-m>//g 
> 
> But I'd prefer people just save their files with unix-style newlines, since
> most editors are capable of doing so.
> 
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
> 


In other words, \n (ascii hex 10) instead of \r\n (ascii hex 13 10)?

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the hackers mailing list