<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You want the counttracts function:<br>
cat tracts.Bfloat | counttracts<br>
- you might need a more recent version of camino if you don't have this.<br>
<br>
Peterson, Daniel wrote:
<blockquote
 cite="mid:FC02439D1375C04F81C02894EAF99AC21A381C41@kki-gsp-mail1.kki.org"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator" content="Microsoft Word 14 (filtered medium)">
  <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
  <div class="WordSection1">
  <p class="MsoNormal">Hi All,<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">&nbsp;&nbsp; I just want to count the number of
streamlines in a streamline Bfloat file. I&#8217;m currently doing something
like:<br>
  <br>
  <o:p></o:p></p>
  <p class="MsoNormal">cat streamline_file.Bfloat | float2txt 6 | wc &#8211;l
&gt; streamline_count.txt<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">&nbsp; But it&#8217;s taking very long &#8211; I have a LOT of
streamline files. Is there a faster way? Is there some &#8220;end of
streamline&#8221; symbol I can binary grep for, rather than converting to
text and counting lines?<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">Thanks so much,<o:p></o:p></p>
  <p class="MsoNormal">-Dan<o:p></o:p></p>
  </div>
  <p><br>
Disclaimer:<br>
The materials in this e-mail are private and may contain Protected
Information. Please note that e-mail communication is not encrypted by
default. You have the right to request further emails be encrypted by
notifying the sender. Your continued use of e-mail constitutes your
acknowledgment of these confidentiality and security limitations. If
you are not the intended recipient, be advised that any unauthorized
use, disclosure, copying, distribution, or the taking of any action in
reliance on the contents of this information is strictly prohibited. If
you have received this e-mail in error, please immediately notify the
sender via telephone or return e-mail.</p>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Camino-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Camino-users@www.nitrc.org">Camino-users@www.nitrc.org</a>
<a class="moz-txt-link-freetext" href="http://www.nitrc.org/mailman/listinfo/camino-users">http://www.nitrc.org/mailman/listinfo/camino-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>