diff --git a/share/cht.sh.txt b/share/cht.sh.txt index 175dc39..e42d899 100755 --- a/share/cht.sh.txt +++ b/share/cht.sh.txt @@ -246,7 +246,7 @@ EOF if [ "$valid" = no ]; then echo "Invalid section: $new_section" echo "Valid sections:" - echo "${valid_sections[@]}" | xargs printf "%-10s\n" | tr ' ' . | xargs -n 10 | sed 's/\./ /g; s/^/ /' + echo $valid_sections | xargs printf "%-10s\n" | tr ' ' . | xargs -n 10 | sed 's/\./ /g; s/^/ /' continue else section="$new_section"