[oi-dev] Weird man page construction

Peter Tribble peter.tribble at gmail.com
Mon Feb 18 12:00:03 UTC 2019


On Mon, Feb 18, 2019 at 11:36 AM Udo Grabowski (IMK) <udo.grabowski at kit.edu>
wrote:

> Hi,
>
> I was wondering for a while now why I could not grep man pages anymore,
> like 'man ftp|grep netrc', which was working a couple of OI versions
> before.


Try something like

man ftp | col -x -b | grep netrc

to strip the formatting.


> Today I really got curious and found these weird constructions
> in the man page output 'man ftp|od -tc'
>
> 0121460  \b   ~   /  \b   /   .  \b   .   n  \b   n   e  \b   e   t  \b
> 0121500   t   r  \b   r   c  \b   c  \n  \n   A  \b   A   T  \b   T   T
>
> That means: most of the characters are backspaced and written again !
> Checked a couple of man pages, most of them have these useless
> sequences in them, so grepping man pages is mostly impossible now.
>
> Is this really intended, or produces some document tool this garbage
> in the process of man page generation ?
> --
> Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
> http://www.imk-asf.kit.edu/english/sat.php
> KIT - Karlsruhe Institute of Technology           http://www.kit.edu
> Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev



-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20190218/c9840a1c/attachment-0005.html>


More information about the oi-dev mailing list