cc: [email protected]
Subject: Re: RE: [ast-users] [ksh93] How to understand `[ -n hello world ]'?
--------
> Whether actually defined in shell or not, I can at least think of
> semantics for expressions like
> [ hello ] or [ $hello ] or [ -n hello ] or [ -n $hello ] or
> [ "foo bar" ] or [ -n "foo bar" ]
> but I have problems with the semantics of the OP's contruct
> [ -n foo bar ]
> and what it should mean.
>
>
I don't know what the semnatic of [ $hello ] and [ -n $hello ].
If
hello='foo bar'
then
[ -n $hello ]
and
[ -n foo bar ]
are the same so how can you understand one and not the other?
David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users