summaryrefslogtreecommitdiff
path: root/test/script/check-toc
diff options
context:
space:
mode:
authorKevin Clark <kevin.clark@gmail.com>2020-11-28 09:44:19 -0800
committerKevin Clark <kevin.clark@gmail.com>2020-11-28 09:44:19 -0800
commit84c95aff9b9138a7ae571c40330e84dd822c1f9a (patch)
treeac844175e0aa3045920b624eb1a4a44f586f1e61 /test/script/check-toc
parent65b09cfa9d6f3b0e11d6b2337846215769910f45 (diff)
downloadale-84c95aff9b9138a7ae571c40330e84dd822c1f9a.zip
Restore ls -v flag to check-toc
Diffstat (limited to 'test/script/check-toc')
-rwxr-xr-xtest/script/check-toc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/script/check-toc b/test/script/check-toc
index f6a80778..f3f8a9ea 100755
--- a/test/script/check-toc
+++ b/test/script/check-toc
@@ -35,7 +35,7 @@ sed -n "$toc_start_line,$toc_end_line"p doc/ale.txt \
> "$toc_file"
# Get all of the doc files in a natural sorted order.
-doc_files="$(/usr/bin/env ls -1 doc | grep '^ale-' | sed 's/^/doc\//' | paste -sd ' ' -)"
+doc_files="$(/usr/bin/env ls -1v doc | grep '^ale-' | sed 's/^/doc\//' | paste -sd ' ' -)"
# shellcheck disable=SC2086
grep -h '\*ale-.*-options\|^[a-z].*\*ale-.*\*$' $doc_files \