[NTLUG:Discuss] removing text: fighting tr and regex

Richard Geoffrion ntlug at rain4us.net
Thu Jul 6 11:01:22 CDT 2006


Stuart Johnston wrote:
> In the spirit of TMTOWTDI, 
???
#  wtf TMTOWTDI
Gee...  I don't know what TMTOWTDI means...

oh...right!!! hahahahah

Google is my friend!

So...lots of PERL examples and other PERLISMs...but what about TR?  
Is/was 'tr' the wrong utility to trim this kind of text out of a 
string?  Does 'tr' understand regex?


-- 
Richard



More information about the Discuss mailing list