![]() |
|
|
|
|
|||||||
| UNIX Desktop for Dummies Questions & Answers Questions regarding GNOME, KDE, CDE, Open Office, etc go here. All UNIX and Linux Newbies Welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strange Characters After Using Notepad | dgower2 | Shell Programming and Scripting | 3 | 04-27-2006 06:17 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
I am new to using UNIX and after uploading a new script to UNIX from Windows using FTP, the script doesn't always work. It seems this depends on the text editor I use and the transfer type. I understand all scripts should be transferred using ASCII, but can you advise which is the best text editor to use out of Notepad and Wordpad?
After doing some research it seems wordpad is most popular, however I had problems with this, and my script now works after opening and saving in notepad as a test document with qoutes encasing the filename. Please offer any advice on this issue. |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
Quote:
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). |
|
|||
|
hi i have a doubt
Quote:
why should you type it in wordpad or notepad and FTP it to UNIX? |
|
|||
|
Being new to UNIX, using the editor VI has previously proved to be a bit of a challenge and has taken some time to come to terms with the different keys that should be used for navigating around VI.
However, since posting this topic I have been on a UNIX course and have a much better understanding now of permissions, FTP, VI and much more :-) |
|
|||
|
Try using one of these free text editors. They have much more functionality.
Textpad TextPad - the text editor for Windows Programmers File Editor (PFE) Programmer's File Editor Home Page |
|||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|