I was wondering how comes
test -n
return 'true', for example :
if test -n; then echo "yes" ; else echo "no" ; fi
prints "yes", even though test was given, theoretically, an empty-length string as an argument along with the option -n, which checks whether the string length is 0 (returns false) or something else (returns true).
Thank you