Skip to content

Commit

Permalink
Prevent duble globbing
Browse files Browse the repository at this point in the history
Closes #110
  • Loading branch information
spirillen authored Dec 17, 2024
1 parent 1e520e0 commit e212e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sort
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e212e9a

Please sign in to comment.