We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From the examples I expect this to work:
<% if [ $TEST ]; then %> This should be printed when TEST is not empty. <% fi %>
But it doesn't. Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
If [ ! -z "$TEST" ] ; then
Sorry, something went wrong.
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.
if [ -n "$TEST"]; then
if [ "$TEST"]; then
No branches or pull requests
From the examples I expect this to work:
But it doesn't. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: