Skip to content

Instantly share code, notes, and snippets.

@mikemadden42
Created October 17, 2021 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikemadden42/16c025fce4ef6037aa4ed8ccb9e79276 to your computer and use it in GitHub Desktop.
Save mikemadden42/16c025fce4ef6037aa4ed8ccb9e79276 to your computer and use it in GitHub Desktop.
Check brew formula
#!/bin/sh
# brew update -v
pushd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
for OS in arm64_monterey monterey arm64_big_sur big_sur catalina mojave high_sierra sierra el_capitan yosemite mavericks; do
echo ${OS}
#grep "sha256 .* :${OS}$" Formula/*.rb | wc -l
egrep "sha256.*${OS}:.*" Formula/*.rb | wc -l
done
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment