in reply to
Re^5: regular expessions question: (replacing words)
in thread regular expessions question: (replacing words)
Thanks for the explanation!
Yes the data fits in memory! And yes it would be appropriate to say every z is 1 and non-z is 0.
I still don't understand! How do I select two columns at random, then count only the z's that are common to all rows in the two columns. By count I meant if a z occurs in column 1 at row 6 and column 2 at row six then my count of z's would be 1. Notice my count will increase as I go down comparing the rows.