|
|
Asia ... Documentation ... Downloads ... DSSSL ... EFL/ESL ... HTML tools ... Japanese text ... Linux ... Photography ... Python ... SGML ... Tcl/Tk ... TeX ... Tips ... Typography ... Word processing |
Document Processing
Text conversion:
1 /
2 /
3 /
4 /
5 /
6 /
7
|
|
A few months ago, I was faced with a need to convert some text files from UNIX format to DOS. But the only conversion program I could find in the Linux archives was in a.out format , which wouldn't run on my system. If it had been just one file, I could have dealt with it easily enough by opening it in my editor and adding ^M's at the end of every line. But I anticipated a need to convert quite a few files in the future, so I thought a batch processing approach would save a lot of work. I wrote a Tcl script to do the job, and posted it to the Linux Gazette. After that, several people contacted me to suggest alternative methods. Since it seems to be a problem that comes up now and then for many people, I've gathered together the various ideas and posted them on the following pages.
What's the problem?
Why bother?
How-to: |
a.out
Tcl/Tk Visit Scriptics or the Tcl/Tk consortium for more info. |
|
Matt Gushee
Last modified: Sun Oct 17 11:11:49 EDT 1999 |