[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Re: Should [[ -v 1 ]] be supported?
From :
G. Branden Robinson
Subject :
Re: Should [[ -v 1 ]] be supported?
Date :
Thu, 27 Dec 2018 20:40:36 -0500
User-agent :
NeoMutt/20180716
At 2018-12-27T19:24:22-0600, Peng Yu wrote:
> > I don't believe that at all. The number of positional parameters is kept
> > anyway. It's not recalculated when you compare it to another number, so
> > it's just as fast as a simple comparison of two integers.
>
> Getting the number $# is slow.
By what metric, and how do you know?
Regards,
Branden
signature.asc
Description: PGP signature
Should [[ -v 1 ]] be supported? , Peng Yu , 2018/12/26
Re: Should [[ -v 1 ]] be supported? , Chet Ramey , 2018/12/27
Re: Should [[ -v 1 ]] be supported? , Martijn Dekker , 2018/12/27
Re: Should [[ -v 1 ]] be supported? , Peng Yu , 2018/12/27
Re: Should [[ -v 1 ]] be supported? , Eduardo Bustamante , 2018/12/27
Re: Should [[ -v 1 ]] be supported? , Martijn Dekker , 2018/12/27
Re: Should [[ -v 1 ]] be supported? , Peng Yu , 2018/12/27
Re: Should [[ -v 1 ]] be supported? ,
G. Branden Robinson <=
Re: Should [[ -v 1 ]] be supported? , Eduardo Bustamante , 2018/12/27
Re: Should [[ -v 1 ]] be supported? , Chet Ramey , 2018/12/28
Re: Should [[ -v 1 ]] be supported? , G. Branden Robinson , 2018/12/27
Re: Should [[ -v 1 ]] be supported? , Peng Yu , 2018/12/27
Re: Should [[ -v 1 ]] be supported? , G. Branden Robinson , 2018/12/27
Re: Should [[ -v 1 ]] be supported? , Peng Yu , 2018/12/28
Re: Should [[ -v 1 ]] be supported? , Eduardo Bustamante , 2018/12/28
Re: Should [[ -v 1 ]] be supported? , Peng Yu , 2018/12/28
Re: Should [[ -v 1 ]] be supported? , Chet Ramey , 2018/12/28
Re: Should [[ -v 1 ]] be supported? , Greg Wooledge , 2018/12/28