[mythtv-users] Bash Script help please

Jeff volckaert jvolckaert at gmail.com
Tue Oct 10 22:02:33 UTC 2006


> This is just for the record since it's working to the OP's
> satisfaction but bash does substitutions like this:
>
> TITLE=${TITLE//[^a-zA-Z0-9]/}
>
> It saves a subprocess which can be helpful in a loop.
>
> - George
What would the syntax be if I wanted to replace any non-alpha chars
with an underscore?

Thanks,
Jeff


More information about the mythtv-users mailing list