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

Re: text file from Linux to windows.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/29/08 19:35, Paul Johnson wrote:
> 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 I
>> 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?
> 
> Windows happens to end lines in a way that's gratuitously different 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.

- --
Ron Johnson, Jr.
Jefferson LA  USA

"I must acknowledge, once and for all, that the purpose of
diplomacy is to prolong a crisis.", Mr. Spock
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIP1DDS9HxQb37XmcRAvnhAJ9WY4QclNxplXOLogiILB65BHBG6wCgkyRu
OS6EE0JUn4+UsISp6x/5hvU=
=9BN1
-----END PGP SIGNATURE-----


Reply to: