In case it matters, the bold lines look this:
C:\a\file [AFLAG]

Well, text is text, and it knows no intrinsic notion of charachter attributes, like bold. However one early, conceptually simple and long-lasting strategy to achieve them was and is by means of ANSI escape codes: support for them is built in under Linux. Back in the days of good 'ol DOS, you would use the ANSI.SYS device driver to enable them. (And at some point ANSI art flourished.) This remained possible up to the 9.x Windows releases, but NT based ones do not support it anymore, which is the reason why dedicated ANSI art viewers and, speaking of Perl, a module like Win32::Console::ANSI exist. Thus a program that wants to output charachters with attributes under recent Windowsen needs to dialogue directly with the console APIs, e.g. in Perl by means of Win32::Console upon which Win32::Console::ANSI relies. Chances are that it is not perl that "ignores" lines with bold charachters, but that those lines are not printed to STDOUT at all.


In reply to Re^3: Perl ignores lines with bold characters from a pipe on Windows by blazar
in thread Perl ignores lines with bold characters from a pipe on Windows by kingkongrevenge

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.