Comment by ๐Ÿš€ jsreed5

Re: "Is there a tool that can take a text file, wrap it at aโ€ฆ"

In: u/jsreed5

@fab Thanks, I'll give that a try!

๐Ÿš€ jsreed5 [OP]

2024-07-23 ยท 2 years ago

1 Later Comment

๐ŸŽฒ dozens ยท 2024-07-25 at 23:59:

groff! i used it to format my .project file which you can see at `finger dozens@tilde.town`. if you just have paragraphs, you should be able to `cat file.txt | nroff -ms -Tascii`

Original Post

๐Ÿš€ jsreed5

Is there a tool that can take a text file, wrap it at a given maximum width, add spaces to justify the text, and hyphenate words if it has to add too many spaces, ร  la LaTeX? I'm sure there are tools that will wrap and even justify, but I'm not sure about hyphenation.

๐Ÿ’ฌ 4 comments ยท 2024-07-23 ยท 2 years ago