<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    Hello everylinuxers:<br>
    <br>
    I am now focusing on the development of a script interpretor (some
    thing like shell)<br>
    in embedded environment, and its functions mainly output the data in
    specified<br>
    address. In order to make it seems better, I want to format the
    output result like<br>
    MySQL output listed below for example<br>
    <br>
    <pre style="" class="lang-sql prettyprint prettyprinted"><code><span class="pun"><code><span class="pun">+</span><span class="com">--------+-------------+</span><span class="pln">
</span><span class="pun">|</span><span class="pln">  address</span><span class="pun">|</span><span class="pln"> value          </span><span class="pln"> </span><span class="pun">|</span><span class="pln">
</span><span class="pun">+</span><span class="com">--------+-------------+</span></code></span><span class="com"></span><span class="pln">
</span><span class="pun">|</span><span class="pln">  0x1110 </span><span class="pun">|</span><span class="pln"> 0x01        </span><span class="pun">    |</span><span class="pln">
</span><span class="pun">+</span><span class="com">--------+-------------+</span><span class="pln">
</span><span class="pun">|</span><span class="pln">  0x1111</span><span class="pun"> |</span><span class="pln"> 0x00           </span><span class="pln"> </span><span class="pun">|</span><span class="pln">
</span><span class="pun">+</span><span class="com">--------+-------------+</span></code></pre>
    <br>
    I think it seems good like this, but I do not know how to make out
    it.(someone says awk,<br>
    sed may help, but the environment does not permit it). Is there some
    libs or tools can<br>
    help make output result good and elegent?<br>
    <br>
    <br>
    Sorry to borther all of you, any info would be appreciated.<br>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <span style="FONT-FAMILY: 宋体; COLOR: #000000; FONT-SIZE: 10.5pt"><span><span
            style="FONT-FAMILY: 宋体; COLOR: #000000; FONT-SIZE: 10.5pt"><i><span
                style="FONT-FAMILY: 'Times New Roman','serif'; COLOR:
                blue; FONT-SIZE: 12pt" lang="EN-US">Thanks & Best
                Regrads! <o:p style="MARGIN-TOP: 0px; MARGIN-BOTTOM:
                  0px"></o:p></span></i>
            <p style="TEXT-ALIGN: left; MARGIN-TOP: 0px; MARGIN-BOTTOM:
              0px" class="MsoNormal" align="left"><i><span
                  style="FONT-FAMILY: 'Times New Roman','serif'; COLOR:
                  blue; FONT-SIZE: 12pt" lang="EN-US">Nicol TAO
                  (taozhijiang)</span></i></p>
            <p style="TEXT-ALIGN: left; MARGIN-TOP: 0px; MARGIN-BOTTOM:
              0px" class="MsoNormal" align="left"><i><span
                  style="FONT-FAMILY: 'Times New Roman','serif'; COLOR:
                  blue; FONT-SIZE: 12pt" lang="EN-US">Shenzhen,
                  Guangdong Province, P.R. China 518055 </span></i></p>
            <p style="TEXT-ALIGN: left; MARGIN-TOP: 0px; MARGIN-BOTTOM:
              0px" class="MsoNormal" align="left"><i><span
                  style="FONT-FAMILY: 'Times New Roman','serif'; COLOR:
                  blue; FONT-SIZE: 12pt" lang="EN-US">Being Stronger!!!</span></i></p>
          </span></span></span></div>
  </body>
</html>