![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wordpad or Notepad? | Heidi.Ebbs | UNIX Desktop for Dummies Questions & Answers | 12 | 05-21-2009 11:56 AM |
| Strange requirement!!! | rahul26 | UNIX for Advanced & Expert Users | 1 | 08-19-2006 03:29 AM |
| Something strange... | B14speedfreak | SUN Solaris | 0 | 06-29-2006 10:48 AM |
| strange | skotapal | UNIX for Dummies Questions & Answers | 13 | 11-15-2002 12:16 PM |
| Strange Characters in Filename | kristy | UNIX for Dummies Questions & Answers | 4 | 03-07-2002 06:38 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Strange Characters After Using Notepad
Hello all,
I'm new to UNIX and new to this forum, so forgive my lack of knowledge. I'm new with editing in vi so I FTP scripts to a Windows machine and edit the script in notepad (when I need to do something quickly). Sometimes when I FTP the script back to the UNIX box, strange characters appear in the script like "M-^?M". I don't see the charaters if I edit the script with vi after ftping it back to UNIX; I only see the characters when using the more command. Any information/guidance is appreciated. Dan |
|
||||
|
DOS files have carriage-control characters that are different from unix.
There are utitlities to handle this on the unix side, consult the man pages for: dos2ux (sometime called dos2unix) ux2dos (sometimes called unix2dos) |
|
||||
|
Quote:
|
|
||||
|
dgower:
Follow me here. BZT Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|