At 2004-11-08T11:13:46+1300, Carl Cerecke wrote:
> tr -d '\r\n' < data | tr 'A' '\n' | wc -l

Nice!  That's about twice as slow and use twice as much memory as my C
implementation (the memory cost is really just the size of the tr(1)
processes), but once you reach that level of performance, the
performance delta doesn't matter much at all.

Thanks,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to