Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.
Collaborate in the cloud with Office, Exchange, SharePoint, and Lync
|
|||||||
Collaborate in the cloud with Office, Exchange, SharePoint, and Lync
Can I Use Notepad in Windows to Write UNIX Scripts
|
|
Thread Tools | Search this Thread |
|
#1
|
||||
|
||||
|
Can I Use Notepad in Windows to Write UNIX Scripts
Hi All,
I've been attempting to edit UNIX scripts in Windows, using Notepad, by FTPing the script files to and from the UNIX/Windows machines. It's easier for me than using VI or PICO. However, I think Notepad may be corrupting the script files. Does anyone know if Notepad will, in fact, render UNIX scripts unusable? Do you know of a better way to edit/create UNIX scripts on a Windows box? TiA Dan |
|
#2
|
||||
|
||||
|
Maybe the MS-DOS editor.
|
|
#3
|
||||
|
||||
|
The linefeeds are different in DOS/Windows and Unix - you will have to convert the files.
Some FTP programs can do this automatically. In Unix, there is a program called dos2unix (available for Windows too, I believe). You can also use some more advanced editor. Crimson Editor supports opening files directly over FTP for example, understands different newlines and you can specify in which format you wish to save the text. |
|
#4
|
|||
|
|||
|
Editors like EditpadPro (www.editpadpro.com) can convert text into Unix-format and v.v.
A version is available for Linux, which I would assume should also work under Unix. |
|
#5
|
||||
|
||||
|
Thanks!
Thanks for the responses.
|
|
|
![]() |
| Similar Topics | ||||
| Topic | Replies | Forum | ||
Windows server 2003 logon scripts
|
0 | Windows OS | ||
Windows NotePad
|
8 | Software Apps | ||
Failed to Write to Disk - Delayed Write
|
10 | Storage and Networking | ||
What language for windows scripts???
|
5 | Windows OS | ||
Apache Server for Windows XP will not ouput Perl scripts properly
|
4 | General Discussion | ||
| Thread Tools | Search this Thread |
|
|
All times are GMT -4. The time now is 01:20 PM.



Windows server 2003 logon scripts