This seems to be exactly what you're looking for.

https://www.bttr-software.de/freesoft/unix.htm

Under "GNU Textutils", you will find fmt.

Here's a direct link for a 16 bit version:

ftp://ftp.ibiblio.org/pub/micro/pc-stuff/freedos/gnuish/dos_only/tut111ax.zip


On 24/1/24 20:10, Jim Hall via Freedos-devel wrote:
I'm looking for a way to keep my text files (like README.TXT) tidy and
easy to read. One problem is that if I modify a plain text file in a
regular text editor, and change the line length in the middle of a
paragraph, now I have to fix all the lines around it so the lines are
all about 77 characters wide.

On Linux, I'd use the BSD 'fmt' command to do it. This is a trivial
program to write (and I just did) if you don't want cool features like
preserving indents. But there are probably lots of similar existing
programs to do the same thing - so I wondered if anyone knows of an
open source DOS version of 'fmt' (or something like it)?


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to