On Fri, Feb 15, 2019 at 11:19:57AM +0100, Oleg Pahl wrote:
> Hi @all,
> 
> Today I try to work with man pages using *vim*.
> 
> *# man man | vim -*
> 
> why i see raw (a lot of special char.) data by default? is it ok?
> 
> *# ma man | less *
> 
> I see no special characters. looks very good.
> 
> Is it possible to convert *raw* data of man page to normal format (for
> *vim*) with one command?
> 
> BR,
> 
> -op

man man | col -b | vim -

See the col(1) manual.  This is also mentioned in the mandoc(1) manual,
in the "ASCII Output" section.


-- 
Andreas Kusalananda Kähäri,
National Bioinformatics Infrastructure Sweden (NBIS),
Uppsala University, Sweden.

Reply via email to