[mythtv-users] Bash Script help please

George Nassas gnassas at mac.com
Tue Oct 10 18:36:07 UTC 2006

On 10-Oct-06, at 1:42 PM, Dylan Semler wrote:

> I'm not sure BASH can do such regex substitutions, I've never seen it
> before, but I could be wrong.  Instead, why not try it with sed:
> TITLE=`echo $TITLE | sed s/[^a-zA-Z0-9]//g`

This is just for the record since it's working to the OP's  
satisfaction but bash does substitutions like this:


It saves a subprocess which can be helpful in a loop.

- George

More information about the mythtv-users mailing list