💾 Archived View for bbs.geminispace.org › u › dozens › 18846 captured on 2024-12-17 at 15:41:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-31)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 🎲 dozens

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

In: u/jsreed5

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`

🎲 dozens

Jul 25 · 5 months ago

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 · Jul 23 · 5 months ago