Re: trailing blank line in a text file

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

 



On Thu, 22 Jul 2004, Andre Speelmans wrote:

> On Tue, Jul 20, 2004 at 06:53:32PM -0700, Craig White wrote:
>
> [ text about added line snipped ]
>
> > in Unix/Linux, a \n is the same as a line feed. Windows terminates lines
> > with a CR and Mac has both CR & LF
>
> IIRC this should be:
> Unix     -> LF (\n or hexcode 0A)
> Windows  -> CR + LF (\r\n or hexcode 0D0A)
> MAC      -> CR (\r or hexcode 0D)

Macs use CR in OS9 and earlier.  OSX is Unix-based and uses LF for
newline.

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux