From 58cb06491931bba7a7cb6a39fd221f207704f0c0 Mon Sep 17 00:00:00 2001 From: Charles Herlin Date: Fri, 1 Feb 2019 09:42:12 +0100 Subject: [PATCH] IMP: sort find result by name and version to ease reading --- shellcheck/launch_shellcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shellcheck/launch_shellcheck.sh b/shellcheck/launch_shellcheck.sh index fd23217..4d761d5 100755 --- a/shellcheck/launch_shellcheck.sh +++ b/shellcheck/launch_shellcheck.sh @@ -6,7 +6,7 @@ files="" retval=0 if [ $# -eq 0 ]; then - files=$(find . -name "*.sh") + files=$(find . -name "*.sh" | sort -V ) else files="$*" fi