On 19/01/2009, David Korn <[email protected]> wrote:
> cc:  [email protected]  [email protected]          
> [email protected]
>  Subject: Re: Re: [shell-discuss] [ksh93-integration-discuss] CR 6791838 
> Created P3 shell/korn93 *ksh93* unset of a variablewhich is not set should 
> return 0
>  --------
>
>
>
>  > Yes, and we have another syntax which is hard to memorize.
>  > Why can't we use [[ -v x ]] to test whether x is a variable, [[ -N x
>  > ]] to test whether x is a nameref and [[ -F x ]] to test whether x is
>  > a function?
>  >
>
> > > I could detect that x is followed by a + and just
>  > >  check for not set.
>  >
>
> > How does this help with functions and name references?
>  >
>
> > Jenny
>  > --
>  > Jennifer Pioch, Uni Frankfurt
>  >
>  >
>
>
>
> -N is already used.
>  True if file exists and has been modified since it was last read.
>
>  There is no need for -F since you can use
>         typeset -f x
>
> to test whether x is a function.
>
>
> I will [[ -v x ]] and [[ -R x ]] to test whether x is a variable
>  or whether it is a name reference.
>
>
>  David Korn
>  [email protected]

When will the new version be available?

-- 
Cedric Blancher <[email protected]>
Institute Pasteur
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to