Math for Computer Science
stellar.mit.edu18 pointsby stantona0 comments
[ -n $var ]
is the same as test -n $var
$var is not quoted, so when this command is run, word splitting occurs and therefore $var is null. Which there falls into the one argument rule above.