![]() |
|
|
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 |
| Removing a character using sed | Raynon | Shell Programming and Scripting | 6 | 11-21-2008 11:24 AM |
| Control character in a file | cursive | UNIX for Dummies Questions & Answers | 5 | 04-26-2007 02:40 AM |
| Removing control-Ms (^M) | djkane | Shell Programming and Scripting | 6 | 03-06-2006 10:48 AM |
| Identifying and removing control characters in a file. | oracle8 | High Level Programming | 0 | 04-13-2004 07:08 PM |
| Removing the ^M character in VI | julesinbath | UNIX for Dummies Questions & Answers | 2 | 04-29-2002 10:13 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Removing Control M character
Hi,
I'm using MKS tool kit to execute KSH on windows and samba to move files to unix from windows. My script is appending header record for the data file. I'm using echo "$header" > $SambaFilename cat $windowsfile >> $SambaFilename But after execution of script ,The file in Unix conatins Control M character at the end of header record. How to eliminate this character. Please advice! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|