I ran into an error in the first line of the following bash shell script when parsing.
if [[ -v VAR_1 ]]; then
VAR_2="$VAR_1/sub_folder"
fi
This script works fine on my colleague's Linux machine in Bash shell, but failed on my Macbook MacOS.
The error message is
conditional binary operator expected