FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-30-2008, 12:35 AM
"Paul Johnson"
 
Default text file from Linux to windows.

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.

--
Paul Johnson
baloo@ursine.ca

Explaination of .pgp part: http://linuxmafia.com/faq/Mail/rant-gpg.html
 
Old 05-30-2008, 12:56 AM
Ron Johnson
 
Default 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)

iD8DBQFIP1DDS9HxQb37XmcRAvnhAJ9WY4QclNxplXOLogiILB 65BHBG6wCgkyRu
OS6EE0JUn4+UsISp6x/5hvU=
=9BN1
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org