How can I check if a variable is empty in Bash?
To check if variable v is not set
if [ "$v" == "" ]; then echo "v not set" fi