經安全檢測,此網站為安全網站,請放心前往原始網址!

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

網址安全性掃描由 google 提供