Came across this, what is -z in the shell script if [ -z "${FILE_LIST}" ]?
[ is the same as test. And man test gives:
-z STRING
the length of STRING is zero
Note: On some platforms, [ is a symlink or hardlink to test
From help test:
-z STRING True if string is empty.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With