set-ereadonly VERSION="5.0"version=$(clang-format -version)if![[$version==*"$VERSION"*]];thenecho"clang-format version check failed."echo"a version contains '$VERSION' is needed, but get '$version'"echo"you can install the right version, and make an soft-link to '\$PATH' env"exit-1fi