Closed simon-zumbrunnen closed 4 years ago
If [ ! -z "$TEST" ] ; then
Thank you. 😊 This works. I don't understand why though. But I guess it has nothing to do with esh.
That's unnecessary verbose, you can do if [ -n "$TEST"]; then
or just if [ "$TEST"]; then
. And yes, this is not related to esh, but shell.
From the examples I expect this to work:
But it doesn't. Am I doing something wrong?