Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DOS/Mac/Unix Newlines . . . . . . . . (Re: [tlug] More joy with MMM Mode in XEmacs)



Josh Glover wrote:

> ... I want these ^M characters to be actual newlines. 

Those ^M characters are ASCII carriage return characters. 
Unixen like ASCII line feed characters (^J) for newlines. 
So: 

   tr '\015' '\012'

> Anybody have a clew?

Wew? 

Of course there are many many ways. 
Travis already mentioned dos2unix, another common utility. 
Mcopy can perform such translations by 'a' option. 

BTW, there is a handy non-obvious man page: 

   man ascii



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links