# somepath/* evaluates to a literal string if somepath does not exist, which can create an accidental error.
# bash offer nullglob as hacky workaround, but posix shell needs to ensure the path exists
# string/* is used verbatim without match and we dont have nullglob against that
# workaround with (extra case for symlinks)
# [ -e "$file" ] || [ -L "$file" ] || continue