Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [solved] Re: Problems with text file going from Linux to MS Windows

From: - Tong - <mlist4suntong(at)yahoo.com>
Date: Sun Jul 29 2007 - 20:28:46 EDT


On Sun, 22 Jul 2007 12:19:17 +1000, Andy Goss wrote:

> Rodolfo Medina  writes:
> 

>>> If I want to send a text file to an MS Windows user there are problems: in
>>> fact, in MS Windows a text file which has been composed under Linux is not
>>> correctly read: the line ends are not recognised.

>>> Can anybody suggest some solution to this problem?

Use MS-DOS-file format, if you want to share text files between Linux and Windoze.

As most have pointed out, most Linux text editors can recognize and use the MS-DOS-file format files. I'll add emacs to the list.

>>> The remedy is to cut the text
>>> and paste it into an MS Word file, then cut it again and re-paste it into the
>>> text file, which is not so good because this way I need rebooting every time
>>> into the Windows partition.

That's too much troublesome. Use
unix2dos (/usr/bin/unix2dos) and dos2unix (/usr/local/bin/dos2unix) to convert file formats between Unix & Dos.

The unix2dos & dos2unix is from the tofrodos package.

HTH

-- 
Tong (remove underscore(s) to reply)
  
http://xpt.sourceforge.net/techdocs/
  
http://xpt.sourceforge.net/tools/


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sun Jul 29 20:29:34 2007
Do you need help?X

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 18:30:46 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library