<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 18, 2019 at 11:36 AM Udo Grabowski (IMK) <<a href="mailto:udo.grabowski@kit.edu">udo.grabowski@kit.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I was wondering for a while now why I could not grep man pages anymore,<br>
like 'man ftp|grep netrc', which was working a couple of OI versions<br>
before. </blockquote><div><br></div><div>Try something like<br><br>man ftp | col -x -b | grep netrc<br><br></div><div>to strip the formatting.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Today I really got curious and found these weird constructions<br>
in the man page output 'man ftp|od -tc'<br>
<br>
0121460  \b   ~   /  \b   /   .  \b   .   n  \b   n   e  \b   e   t  \b<br>
0121500   t   r  \b   r   c  \b   c  \n  \n   A  \b   A   T  \b   T   T<br>
<br>
That means: most of the characters are backspaced and written again !<br>
Checked a couple of man pages, most of them have these useless<br>
sequences in them, so grepping man pages is mostly impossible now.<br>
<br>
Is this really intended, or produces some document tool this garbage<br>
in the process of man page generation ?<br>
-- <br>
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT<br>
<a href="http://www.imk-asf.kit.edu/english/sat.php" rel="noreferrer" target="_blank">http://www.imk-asf.kit.edu/english/sat.php</a><br>
KIT - Karlsruhe Institute of Technology           <a href="http://www.kit.edu" rel="noreferrer" target="_blank">http://www.kit.edu</a><br>
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026<br>
<br>
_______________________________________________<br>
oi-dev mailing list<br>
<a href="mailto:oi-dev@openindiana.org" target="_blank">oi-dev@openindiana.org</a><br>
<a href="https://openindiana.org/mailman/listinfo/oi-dev" rel="noreferrer" target="_blank">https://openindiana.org/mailman/listinfo/oi-dev</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">-Peter Tribble<br><a href="http://www.petertribble.co.uk/" target="_blank">http://www.petertribble.co.uk/</a> - <a href="http://ptribble.blogspot.com/" target="_blank">http://ptribble.blogspot.com/</a></div></div></div>