From 884c8da8643c40d7566b2da7dc40321e2e48d7d2 Mon Sep 17 00:00:00 2001 From: teldra Date: Sun, 26 Jun 2022 19:27:30 +0200 Subject: [PATCH] small fixes --- add_archive.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/add_archive.sh b/add_archive.sh index 5c0c81e..87ddb81 100755 --- a/add_archive.sh +++ b/add_archive.sh @@ -25,7 +25,6 @@ else fi for file in "${files[@]}"; do - s="$(basename ${file%.*})" # receive input in first argument s="${s//[^[:alnum:]]/-}" # replace all non-alnum characters to - s="${s//+(-)/-}" # convert multiple - to single -