Monday, March 02, 2020

RE: man to render pure text? (or a pipe in vi macros ?)

Haai,

"Ingo Schwarze" <schwarze@usta.de> wrote:
>[about a flag to make mandoc(1) omit backspace stuff:]
> In 2014, i already wrote a patch to do that because the question
> came up repeatedly. But demand wasn't that high after all, so i
> never committed it. Now, i updated the patch to -current, see
> below.

Medoesn't run -current, so meprolly can't test it, but...

> On the one hand, the UNIX phlosophy is to have each tool do one
> thing well, then use pipes to connect tools as needed. Then again,
> arguably, you maybe shouldn't need another tool to just revert
> something that the first tool does. Why would *not* adding backspace
> formatting require a pipe to another program, rather than not adding
> it in the first place?
>
> Also, the patch that would be required is very small and straightforward.
>
> So, what do people think? Should i test the patch below in more
> depth and commit it? Or do people consider this bloat?

While mecan see much merit in both sides of the argument, me'd say:
can't hurt, will help people, go!

> Yours,
> Ingo

Baai,

--zeurkous.

--
Friggin' Machines!

No comments:

Post a Comment