[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deroff availability

From: DJ Chase
Subject: Re: deroff availability
Date: Wed, 17 Aug 2022 11:35:30 +0000

On Wed Aug 17, 2022 at 1:27 AM EDT, Jeff Conrad wrote:
> Oops ...
> Scratch what I was going to suggest ...
> I only asked because you mentioned that roff2text(1) does a poor job of
> formatting.  Reading more carefully, formatting wasn’t your objective.

I suppose I could have been clearer there, sorry.

> I assume you’ve tried something like
>     roff2text <file> | tr -cs "[:alpha:]" "[\n*]"
> or
>     nroff <options> <file> | tr -cs "[:alpha:]" "[\n*]"
> But this obviously won’t work for diction or style.

It works for style, but it’s really a problem with diction. Diction
outputs line numbers of problematic sentences, which obviously don’t
corrispond to the source line-numbers.

DJ Chase
They, Them, Theirs

reply via email to

[Prev in Thread] Current Thread [Next in Thread]