osx-compose-key
osx-compose-key copied to clipboard
install.sh: line 9: [[: 14.4: syntax error: invalid arithmetic operator (error token is ".4")
Using /bin/sh
and /bin/zsh
, I get the mentioned error.
echo $(sw_vers -productVersion | sed -E "s/^[0-9]+\.([0-9]+)/\\1/")
returns
14.4