Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] When is a line feed really a line feed?
- Date: Sat, 04 Dec 2010 16:20:49 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] When is a line feed really a line feed?
- References: <4CF92E9D.3020004@example.com> <1291400314.14141.1408520355@example.com> <AANLkTi=OqSWE-doagKhB3FAAVPGBBa052MDJRUPfnYha@example.com>
Marjan Parsa writes: > I also find the hexl mode in emacs useful to see what actual > characters there are in the file, which you can get with M-x > hexl-mode. If you're using Emacs, the modeline tells you which EOL convention is in use, reading the file with binary or a *-unix coding system will force ASCII CR to appear as "^M" in the buffer allowing you to distinguish LF from CRLF easily if you're worried about mixed conventions, and C-x = will tell you more than you ever want to know about the character at point (including the newline, with point at the end of the line, but it will always tell you it's "LF" because that's how it is represented in the buffer; not terribly useful :-). hexl-mode is probably overkill for most users unless they're implementing the file(1) command or something like that.
- References:
- [tlug] When is a line feed really a line feed?
- From: Dave M G
- Re: [tlug] When is a line feed really a line feed?
- From: David J Iannucci
- Re: [tlug] When is a line feed really a line feed?
- From: Marjan Parsa
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] When is a line feed really a line feed?
- Next by Date: Re: [tlug] When is a line feed really a line feed?
- Previous by thread: Re: [tlug] When is a line feed really a line feed?
- Next by thread: Re: [tlug] When is a line feed really a line feed?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links