On Thu, Feb 24, 2011 at 12:55 PM, Christopher D Haakinson < cdhaa...@us.ibm.com> wrote:
> 2) I copy this entire script from notepad in windows into a new file named > test2.sh, also in notepad. > The guy who wrote "Notepad" and had them put it on Windows as a text editor should be shot, hung, and then shot again. Then, stampeded by a bunch of wild horses, and for good measure shot again. As you can tell, I have a strong opinion of "Notepad". Notepad is NOT A PROGRAM EDITOR. Yes, I was shouting. Sorry about that, after 15 years of Windows and having developers use it as their program editor, I get a little tense sometimes. Notepad is not a program editor. Nothing will mess up a program quicker than Notepad. It mucks up line endings, changes Unicode characters, and will mess up the end of file. The developers in my organization know not to use Notepad or face the Wrath of Dave. There are tons of freeware program editors out there, and there's just no excuse for anyone who is involved in development to use Notepad. VIM is great (http://www.vi.org) -- if you're a VI fanboy. I happen to be one. I have yet found a program editor that is as fast as VI. VIM adds all sorts of goodies to VI including automatic syntax indentations and syntax highlighting. It is not the easiest editor to use (it can take months to learn all of its ins and outs), but once you learn it, it's the best. For those who want something a bit more GUI oriented, there's ScitTE ( http://www.scintilla.org/SciTE.html). And a great Notepad replacement is Notepad++ (http://notepad-plus-plus.org/). It provides a very similar looking Notepad like interface, but understands line and file endings. -- David Weintraub qazw...@gmail.com