[oi-dev] Weird man page construction
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>
> 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
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
> 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
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the oi-dev