From: Alan J. Pippin Date: Wed, 20 May 2009 15:37:11 +0000 (-0600) Subject: Added code to remove trailing '.' character from the end of the dvdname X-Git-Tag: 1_0~29 X-Git-Url: http://git.pippins.net/embedvideo/%27%20.%20%24this-%3Ephpgw_js_url%20.%20%27/jscalendar/.%24link.?a=commitdiff_plain;h=0ba7b0f48428f47a5ebf3600c07369eb3a594e2b;p=rip_dvd%2F.git Added code to remove trailing '.' character from the end of the dvdname --- diff --git a/rip_dvd b/rip_dvd index 5729754..521bf03 100755 --- a/rip_dvd +++ b/rip_dvd @@ -246,6 +246,9 @@ if [ -z "$vobfile" ]; then vobfile="$dest/$dvdname.VOB" fi +# remove bad characters from the dvdname +dvdname=${dvdname%.} # remove trailing '.' character + # make a "safe" dvdname (remove special characters) safedvdname=`basename "$dvdname" | sed 's/[ !&*\\$?]/_/g'`