[mythtv-users] Bash Script help please
jvolckaert at gmail.com
Tue Oct 10 17:19:19 UTC 2006
I am trying to create a script to transcode files for a PDA. I am
trying to save the file with the filenanme as TITLE-STARTTIME.avi.
I'm trying to remove non-alphanumeric chars in TITLE and am stuck. I
thought the following script code would work for 'Will & Grace', but
# Remove non-alpha characters from TITLE
[[ $TITLE =~ s/[^a-zA-Z0-9]//g ]]
I still get 'Will & Grace' instead of 'WillGrace'.
More information about the mythtv-users