<commit_before>#!/usr/bin/env sh
#
# Check syntax for sh files.

for sh in sh/* */profile.d/*; do
  [ -f "$sh" ] || continue
  sh -n -- "$sh"
done

printf 'POSIX shell scripts parsed successfully.\n'<commit_msg>chore(sh): fix check script to search for all sh files<commit_after>#!/usr/bin/env sh
#
# Check syntax for sh files.

set -e

set sh/profile

sh -n -- "$@"

find . -type f -name "*.sh" | while IFS='' read -r line; do
  [ -f "$line" ] || continue
  sh -n -- "$line"
done

printf 'POSIX shell scripts parsed successfully.\n'
{'fraction_non_alphanumeric': 0.17073170731707318, 'fraction_numerical': 0.0, 'mean_word_length': 2.926470588235294, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4346901', 'n_tokens_mistral': 199, 'n_tokens_neox': 193, 'n_words': 71}