From b60827bdf7430346e69edb5bbf789b1c1a4826c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ali=20Furkan=20Y=C4=B1ld=C4=B1z?= Date: Wed, 11 Jan 2023 21:11:54 +0300 Subject: [PATCH] change naming to fix a bug --- shell/bash/avt/avt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/bash/avt/avt b/shell/bash/avt/avt index 1b7b514..48131d6 100755 --- a/shell/bash/avt/avt +++ b/shell/bash/avt/avt @@ -97,7 +97,7 @@ foreach (@sinks) { } normalize() { - OUTPUTFILE="${2:-n_$(grep -oP '^.+(?=\..+)' <<<"$1").mp4}" + OUTPUTFILE="${2:-$1_n.mp4}" echo "Saving to $OUTPUTFILE" # shellcheck disable=SC2086