Fix TOC tests

Sort order is slightly different than the headings
This commit is contained in:
Kevin Clark committed 2020-11-28 07:55:35 -08:00
1 parent 99f1874e86
commit 469af2a734
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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 -1v doc | grep ^ale- | sed 's/^/doc\//' | paste -sd ' ' -)"
doc_files="$(/usr/bin/env ls -1 doc | awk '/ale-/' | sed 's/^/doc\//' | paste -sd ' ' -)"
# shellcheck disable=SC2086
grep -h '\*ale-.*-options\|^[a-z].*\*ale-.*\*$' $doc_files \