Monday, March 02, 2020

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

Marc Chantreux:

> > > * is there a way to ask man to deliver pure (non-formatted) text ?
> > Pipe its output through "col -b".
>
> what is the gain of using col over fmt ?

It's the designated tool for the job. That fmt also happens to
replace sequences character1-backspace-character2 with character2
is more of a lucky coincidence.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

No comments:

Post a Comment