Subj : Re: text reformating
To : All
From : Nigel Reed
Date : Mon May 19 2025 09:10 pm
On Mon, 19 May 2025 20:54:16 -0500
"Dan Clough" (1:135/115) <
[email protected]> wrote:
> -=> Sean Dennis wrote to Dan Clough <=-
>
> -=> 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. :-)
So many useful, and maybe not so useful utilities out there.
paste, will take 2 or more files and put them next to each other, like
a sideways cat :)
Talking of cat, there is also tac which will display a file from the
bottom up.
ncal is like cat but with the days down the side.
To randomly shuffle the lines of a text file you can pipe it into shuf
fmt is another text processor similar to, but different from fold.
--
End Of The Line BBS - Plano, TX
telnet endofthelinebbs.com 23
--- SBBSecho 3.27-Linux
* Origin: End Of The Line BBS - endofthelinebbs.com (1:124/5016)