CRLF

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Thomas Mondoshawan Tate
Date:  
Subject: CRLF
--s/l3CgOIzMHHjg/5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 19, 2001 at 01:18:42PM -0500, Derek Neighbors wrote:
> Dos is CR/LF unix is just CR fwiw.


Erm... That's not entirely correct...
DOS, CP/M and other variants of the system all use CR/LF pairs. (this is due
to the old typewriter analogy; CR moves the carriage back to the beginning =
of
the line, and LF moves the paper up one line)

Unices are mandated to use LF only (I believe this is a POSIX requirement,
not sure, though). Hence, when you directly copy any text file from a *nix
based system to a DOS based system and type it out, you end up with
"stairstepping" of the text. Eg:
      The quick brown fox jumped over the lazy dog.
                                                        The quick brown fox jumped.


Theoreticially, if it were possible to convert directly from a MacOS text
file to DOS ASCII, if you were to type it out, all the text lines would
overwrite each other on the same line.

Random trivia... =3Dop

--=20
Thomas "Mondoshawan" Tate

http://tank.dyndns.org

--s/l3CgOIzMHHjg/5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE70H39Yp5mUsPGjjwRAodmAJoCjMIig4AMjV04ZE8pE7OGRO+l2QCdGqtA
L5bAx3JY5gitZro7b0K+wAw=
=Ytyo
-----END PGP SIGNATURE-----

--s/l3CgOIzMHHjg/5--