This looks promising, thanks. It looks like there is no single-pass method, but since filter is pretty fast it may do okay.
Not sure how robust my stab was, but I do think that algorithmically one-pass is definitely possible. You just need to pass through the text once, and "cross off" each word as you find it. If everything is crossed off when you're done, then you're done =).
HTH - Brian _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution