From e212e9ab485ec4cf673e5358266db99622716633 Mon Sep 17 00:00:00 2001 From: spirillen <44526987+spirillen@users.noreply.github.com> Date: Tue, 17 Dec 2024 19:11:46 +0000 Subject: [PATCH] Prevent duble globbing Closes https://github.com/PeterDaveHello/url-shorteners/issues/110 --- tests/sort | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sort b/tests/sort index e10a265..fd40d68 100755 --- a/tests/sort +++ b/tests/sort @@ -6,7 +6,7 @@ pass=true for file in list inactive; do if ! diff --color=always -u <(grep -v -E '^(#|$)' "$file") <(grep -v -E '^(#|$)' "$file" | sort) > "$tempfile"; then - echo -e "\nFile \"$file\" not proerly sorted!\n\nDiff between current and the correct version:" 1>&2 + echo -e "\nFile $file not proerly sorted!\n\nDiff between current and the correct version:" 1>&2 echo '```' 1>&2 awk '!/^\033\[1m\+\+\+ |^\033\[1m--- /' "$tempfile" 1>&2 echo '```' 1>&2