[Camino-users] Fast way to count streamlines?

Peterson, Daniel petersond at kennedykrieger.org
Wed Aug 15 10:07:32 PDT 2012


Hi All,

   I just want to count the number of streamlines in a streamline Bfloat file. I'm currently doing something like:

cat streamline_file.Bfloat | float2txt 6 | wc -l > streamline_count.txt

  But it's taking very long - I have a LOT of streamline files. Is there a faster way? Is there some "end of streamline" symbol I can binary grep for, rather than converting to text and counting lines?

Thanks so much,
-Dan
Disclaimer:
The materials in this e-mail are private and may contain Protected Health Information. Please note that e-mail is not necessarily confidential or secure. Your 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nitrc.org/pipermail/camino-users/attachments/20120815/7ff1990a/attachment-0001.html


More information about the Camino-users mailing list