I have a simple bash script:
#!/bin/bash VAR=$1 if [$VAR == \'\'] then echo \'VAR is empty\' exit 0 fi echo \'You typed \'$VAR