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

Chris Cox cjcox at acm.org
Fri Jul 7 15:20:01 CDT 2006


... etc snipped...

echo "jdoe at example.com (John Doe), jane at example.com (Jane Doe)" | sed -e 's/[ ]*([^)]*)//g'




More information about the Discuss mailing list