View Single Post
Old 11-29-2005, 01:44 PM   #10
wbrummet
LQ Newbie
 
Registered: Nov 2005
Location: God's country... Texas USA
Posts: 1

Rep: Reputation: 1
I have run into this problem many times when editing scripts on a windows based system then FTP'ing them onto my servers. I simple Perl command always seems to clear up the problem. Try the following command on your text file then try and run it.

perl -i -pe's/\r$//;' <file name here>
 
1 members found this post helpful.