diff --git a/lego_dl.sh b/lego_dl.sh index e6a131e..4aa77d1 100644 --- a/lego_dl.sh +++ b/lego_dl.sh @@ -87,7 +87,7 @@ do tADDED=$(sed -e 's/^"//' -e 's/"$//' <<<"$ADDED") tDESC=$(sed -e 's/^"//' -e 's/"$//' <<<"$DESC") - ttDESC=$(echo $tDESC | grep -Eo '\s[0-9]{1}\s?\/\s?[0-9]{1,2}' | sed 's/ //g' | sed 's/\//_of_/g') + ttDESC=$(echo $tDESC | grep -Eo '\D[0-9]{1}\s?\/\s?[0-9]{1,2}' | sed 's/ //g' | sed 's/\//_of_/g') if [ -z "$ttDESC" ]; then setDESC="_"