trailing blank line in a text file

Andre Speelmans andre at as.no-ip.com
Thu Jul 22 11:35:41 UTC 2004


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)

-- 
Regards,

Andre





More information about the fedora-list mailing list