The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 07-04-2007
cbkihong cbkihong is offline
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,428
Quote:
Originally Posted by Heidi.Ebbs View Post
but can you advise which is the best text editor to use out of Notepad and Wordpad?
Provided you save the document in ASCII, using any text editor has no difference. For me I will prefer Notepad because it is a text editor, not a "word processor" that can save text files. But you can just use any other free/commercial text editors on Windows anyway. I will only use notepad when there is no alternative installed because it doesn't do syntax highlighting. For me, I install gvim on Windows. The choice is always yours.

Quote:
however I had problems with this
Most likely you did not save the file as ASCII text, so it may become doc or rtf or something like that.

As a general rule, just make sure you are always saving the script as ASCII text, and always use FTP ASCII mode (if you use Binary mode, you have to use a Windows text editor that supports Unix EOL, and save the script with Unix EOL).
Reply With Quote