# shellcheck disable=SC2154,SC2249

# [^]

# Not to be confused by sed's and other program's regular expression syntax. Uses of [^] in case (parameter/word expansion in general) need to be replaced with [!].

# E.g. replace:

# case "${foo}" in
#     [^f]*)
#         echo 'not f*'
#     ;;
# esac

# with

case "${foo}" in
    [!f]*)
      echo 'not f*'
    ;;
esac
