Subj : Re: text reformating
To : Grant Weasner
From : Dan Clough
Date : Mon May 19 2025 08:34 am
-=> Grant Weasner wrote to All <=-
GW> Hello all.
GW> I'm wondering what others think about linux a text formating task I'm
GW> trying to solve.
GW> I've got lots of older howtos from the old web, and stuff I've also
GW> wrote.
GW> I want to convert all of my text files in many directories into a
GW> gopher fiendly format.
GW> Gopher friendly:
GW> 1) 64 columns wide.
GW> 2) any indents will remain, but if a line goes beyond 64 cols, the
GW> remaining characters will go to the line below but indent to the same
GW> column as the prior line.
GW> This seems pretty difficult and I'm wondering how others would approch
GW> this task.
GW> I'm thinking of just writing a python script using basic python
GW> modules.
GW> But I'm wondering if there are just native linux tools that would work
GW> as good or better.
<SNIP>
man fold
... So easy, a child could do it. Child sold separately.
=== MultiMail/Linux v0.52
--- SBBSecho 3.25-Linux
* Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:135/115)