Re: text file from Linux to windows.
- From: owens@xxxxxxxx
- Date: Fri, 30 May 2008 08:49:07 -0700 (PDT)
Ron Johnson wrote:
On 05/29/08 19:35, Paul Johnson wrote:Actually, it dates back further than that, to ASR33 teletype machines,
On Thursday 29 May 2008 05:26:43 pm L.V.Gandhi wrote:
I have made a text file in Linux using echo and cat commands. When IWindows happens to end lines in a way that's gratuitously different
open the file in note pad, I find files are not having line break, but
having a character in place of line break. Is there any way in echo
and cat commands usage to put windows line break?
from the
rest of the world. Check out the tofrodos package.
Since 90% of all computers are DOS/Windows, and got that method from
CP/M, which did it that way back in 1976/77, your "gratuitously
different" comment is absurdly wrong.
where you needed to issue separate carriage return and line feed
characters to end a line - to i) physically return the carriage to the
beginning of the line, and ii) feed a line of paper (turn the platten).
(Anybody else out there old enough to remember when ASR33s where THE
standard i/o device? :-)
CR+LF is also required in most Internet protocols.
This is one of the surprising areas, where the Microsoft products get
things right, and the Unix world messes up.
There are some good historical references at:
http://en.wikipedia.org/wiki/Newline
http://www.rfc-editor.org/EOLstory.txt
http://www.w3.org/TR/newline
Miles Fidelman
I also remember when one had to put two STOP bits at the end of each ASCII
character transmitted to allow the print ball time to return to its
resting position in advance of the next character
Larry Owens
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact
listmaster@xxxxxxxxxxxxxxxx
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: text file from Linux to windows.
- From: Douglas A. Tutty
- Re: text file from Linux to windows.
- References:
- text file from Linux to windows.
- From: L . V . Gandhi
- Re: text file from Linux to windows.
- From: Paul Johnson
- Re: text file from Linux to windows.
- From: Ron Johnson
- Re: text file from Linux to windows.
- From: Miles Fidelman
- text file from Linux to windows.
- Prev by Date: Re: changing xterm colors [solved]
- Next by Date: smartctl: power on hours on a samsung disk
- Previous by thread: Re: text file from Linux to windows.
- Next by thread: Re: text file from Linux to windows.
- Index(es):
Relevant Pages
|