 |
Testing if a variable is empty in a shell script - Unix & Linux Stack Exchange
I have seen the following technique used many times on many different shells, to test if a variable is empty: if [ "x$1" = "x" ]; then # Variable is empty fi Are there any advantages ...
unix.stackexchange.com |
 |