diff options
author | Kevin Clark <kevin.clark@gmail.com> | 2020-11-28 09:20:50 -0800 |
---|---|---|
committer | Kevin Clark <kevin.clark@gmail.com> | 2020-11-28 09:20:50 -0800 |
commit | 65b09cfa9d6f3b0e11d6b2337846215769910f45 (patch) | |
tree | 0110af207db6bcd67b409665a1cb32e1157e3a78 | |
parent | 6b0250a843523810cc7c17db2dbffd582ba115df (diff) | |
download | ale-65b09cfa9d6f3b0e11d6b2337846215769910f45.zip |
Restore use of grep in check-toc
-rwxr-xr-x | test/script/check-toc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/script/check-toc b/test/script/check-toc index 7a7705ce..f6a80778 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 | awk '/ale-/' | sed 's/^/doc\//' | paste -sd ' ' -)" +doc_files="$(/usr/bin/env ls -1 doc | grep '^ale-' | sed 's/^/doc\//' | paste -sd ' ' -)" # shellcheck disable=SC2086 grep -h '\*ale-.*-options\|^[a-z].*\*ale-.*\*$' $doc_files \ |