#!/bin/sh

brew --version 2>&1 | \
    head -n 1 | \
    cut -d ' ' -f 2

#!/bin/sh

brew --version 2>&1 | \
    head -n 1 | \
    cut -d ' ' -f 2 | \
    cut -d '-' -f 1

Simplify the Homebrew version check
Simplify the Homebrew version check
