From 9be13c8ecfe3556a0b41a42395ff3a5300677cef Mon Sep 17 00:00:00 2001 From: Frederik Baerentsen Date: Wed, 24 Jun 2020 09:16:52 +0200 Subject: [PATCH] Reverted --- lego_dl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lego_dl.sh b/lego_dl.sh index 4aa77d1..e6a131e 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 '\D[0-9]{1}\s?\/\s?[0-9]{1,2}' | sed 's/ //g' | sed 's/\//_of_/g') + ttDESC=$(echo $tDESC | grep -Eo '\s[0-9]{1}\s?\/\s?[0-9]{1,2}' | sed 's/ //g' | sed 's/\//_of_/g') if [ -z "$ttDESC" ]; then setDESC="_"