To resolve this, install unix2dos. In Ubuntu this is found in tofrodos package.
$ sudo apt-get install tofrodos
Convert using the command line.
$ unix2dos filename.txt
Gedit. Some text documents are created with Gedit. Gedit can be used to edit text and call the Unix2DOS command. This allows text that is nicely formatted when seen in MS Windows.
- On a Linux, open Gedit and choose Edit ->Preferences. Click Plugins tab and check the External Tools
- Click Configure Plugin, click New.
- Enter the name Unix2DOS. Fill the following values:
- Description: Tools to make text readable in MS Windows
- Command: unix2dos
- Input: Current Document
- Output: Replace Current Document
- Click Close. Close the Gedit
- Open the text document to be used in MS Windows. Choose Tools ->Unix2DOS
- Save the document. It is now in a format that can be read in MS Windows.
No comments:
Post a Comment