Solved! I should have read man bash pages!
Options are one of the Arguments.
test arg1 arg2 arg3 ..
So,
$test -n or $test -z is just like $test abc.
-n, -z, or abc is handled as arg1 and as 'a string'. Then
test deos not think that -z or -n is an option stateme
wuha, i am sorry to say that, but what i wrote was mostly
wrong :( it's just too simple. i didn't saw cause
i assumed to deal with a strange situation. but this is
just normal behaviour. you wrote:
> $echo $? returns 0 after these test commands.
>
> $test -z ""
> $test -z
first of all. my biggest