bh_perl has asked for the wisdom of the Perl Monks concerning the following question:
Once I transferred files from local machine to another machine, one special character (^M) would be appeared at the end of character in each line, as example :
Original ==> abcdefgh
After transferred => abcdefgh^M
Otherwise, the special or aditional character can be found by using vi command, the cat/more command are not helping.
So, could somebody help me ?
Thank you,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to remove "^M" in the files ?
by Zaxo (Archbishop) on Feb 11, 2004 at 06:04 UTC | |
|
Re: How to remove "^M" in the files ?
by Roger (Parson) on Feb 11, 2004 at 06:16 UTC | |
|
Re: How to remove "^M" in the files ?
by chimni (Pilgrim) on Feb 11, 2004 at 06:20 UTC | |
|
Re: How to remove "^M" in the files ?
by Abigail-II (Bishop) on Feb 11, 2004 at 10:27 UTC | |
|
Re: How to remove "^M" in the files ?
by BUU (Prior) on Feb 11, 2004 at 06:08 UTC | |
by hardburn (Abbot) on Feb 11, 2004 at 14:22 UTC | |
by BUU (Prior) on Feb 12, 2004 at 03:42 UTC |