4 ms·
[ -z hello ] is perfectly fine, but hello is not a variable, it's the string "hello". It will always return false. ddg doesn't seem to evaluate the command, jus
by simias 12y ago
[ -z hello ] is perfectly fine, but hello is not a variable, it's the string "hello". It will always return false. ddg doesn't seem to evaluate the command, just explicit it.
- wicket 12y ago> It will always return false. Exactly! It's not the best of examples really, is it?