go ahead... be a heretic | |
PerlMonks |
Re: Removing Windows newlinesby TStanley (Canon) |
on May 14, 2003 at 10:57 UTC ( [id://258028]=note: print w/replies, xml ) | Need Help?? |
The following will work, assuming that you are using some form of unix with the vi editor: To get the control-M character, you would first type control-V, followed by the control-M This problem also occurs if you are trying to ftp from a Windows system to unix, and you send the file in binary format. Change it to ascii, and that should fix your problem. TStanley --------
In Section
Seekers of Perl Wisdom
|
|