Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Windows Screws Up UNIX and Linux by De^H^H^H^HGN

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

____/ Chris Ahlstrom on Thursday 23 Jun 2011 11:39 : \____

> Roy Schestowitz wrote this copyrighted missive and expects royalties:
> 
>> Windows Newlines Will Kill Your Linux Scripts
>>
>> ,----[ Quote ]
>>| What???s going on is that you really do have a
>>| fatal error in your code, and it???s an error
>>| that you can???t see. In fact, it???s invisible.
>>| The error is that you have uploaded a file that
>>| you created on a Windows machine.
>> `----
>>
>> http://hackingthevalley.com/2011/06/21/windows-newlines-will-kill-your-linux-scripts/
>>
>> Cancer in your shell, cancer on the Web...
> 
> Nah, just an unfortunate line-ending convention with DOS inheriting a way to
> move the teletype striker back and downward.  Mac has yet another
> line-ending convention.
> 
> Windows software (except for Notepad) will handle the UNIX convention (and
> the forward slash) just fine.  You can have a subversion hook clean up the
> line endings on check-in.
> 
> Vim will handle the files either way, suppressing the "Ctrl-M" characters.
> 
> Except when someone edits just part of the file, in which case you'll see
> some of them.
> 
> But even Visual Studio now knows the difference and will ask you which
> line-ending convention you'd like it to use when saving the file.

Why even keep this broken legacy? It only confuses people.

- -- 
		~~ Best of wishes

Dr. Roy S. Schestowitz (Ph.D. Medical Biophysics), Imaging Researcher
http://Schestowitz.com  | GNU/Linux administration | PGP-Key: 0x74572E8E
Editor @ http://techrights.org & Broadcaster @ http://bytesmedia.co.uk/
GPL-licensed 3-D Othello @ http://othellomaster.com
Non-profit search engine proposal @ http://iuron.com
Contact E-mail address (direct): s at schestowitz dot com
Contact Internet phone (SIP): schestowitz@xxxxxxxxx (24/7)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk4DGUEACgkQU4xAY3RXLo7euACgiC/oi10GCC31SigM39SKVWfH
E5QAnR98KyPbtt8mvYLdd6enDonjyjU0
=4/TB
-----END PGP SIGNATURE-----

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index