Subj : Re: text reformating
To   : Nigel Reed
From : Dan Clough
Date : Tue May 20 2025 08:16 am

-=> Nigel Reed wrote to All <=-

>  -=> Dan Clough wrote to Grant Weasner <=-
>
>  DC> man fold

>  SD> fold is an amazing utility.  Very helpful with text files.

> Indeed it is.  A classic *nix utility - do one thing, and do it well.

>  SD> When I was publishing th FidoGazette, I used fold a lot in
>  SD> reformatting,

> Yes, very handy for making "wide" stuff fit on a 80x25 character
> screen. :-)

NR> So many useful, and maybe not so useful utilities out there.

NR> paste, will take 2 or more files and put them next to each other, like
NR> a sideways cat :)

NR> Talking of cat, there is also tac which will display a file from the
NR> bottom up.

NR> ncal is like cat but with the days down the side.

NR> To randomly shuffle the lines of a text file you can pipe it into shuf

NR> fmt is another text processor similar to, but different from fold.

Nice!  Didn't know about a couple of those, thanks.



... Rehab is for quitters.
=== MultiMail/Linux v0.52
--- SBBSecho 3.25-Linux
* Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:135/115)