Odd Perl interpreter problem

Jerry Feldman gaf at blu.org
Sun Dec 30 16:47:35 EST 2001


When EMACS reads a file that originally has a CRLF, it assumes that is a 
DOS file, and retains that as the line ending. Run dos2unix on your script 
and that should take care of it.
greenberg at hcfama.org wrote:
> Thanks everyone for your help -- I finally got this to work.  After 
> Jerry sent me his script which worked and I ran the od -c command 
> on it, I discovered that my emacs is putting \r\n at each newline 
> and his script only has \n.  Taking out the \r works.  Now I just 
> need to figure out how to keybind a plain old \n to my enter key 
> and I'm all set... 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
> 

-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9





More information about the Discuss mailing list