Re: Linux vs win32 emacs

Dave Pawson <[email protected]> Sun, 18 Jul 2004 17:09:02 +0100
Newsgroups gmane.emacs.psgml.user
Message-ID <1090166942.2018.73.camel@homer>
On Sun, 2004-07-18 at 15:08, [email protected] wrote:

> 
> Sound like you are migrating to Linux. A rock-solid way to actually
> see line endings is use hexl-mode: A mere newline is 0a, a CRLF is
> 0d0a.

Resolved. hexl-mode tells me which is which.

A google brought me the command

$ mv wiki.cgi wiki.dos
$ sed "s/\r//" wiki.dos > wiki.cgi"

which hexl-mode tells me the offending od has gone.
Thanks for the starter.

-- 
Regards DaveP.
XSLT&Docbook  FAQ
http://www.dpawson.co.uk/xsl




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click