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

lowmagnet lowmagnet at lowmag.net
Mon Aug 30 16:49:04 UTC 2004


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.



More information about the hackers mailing list