Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14980 > unrolled thread

Re: Should [[ -v 1 ]] be supported?

Started by"G. Branden Robinson" <g.branden.robinson@gmail.com>
First post2018-12-27 20:40 -0500
Last post2018-12-27 20:40 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Should [[ -v 1 ]] be supported? "G. Branden Robinson" <g.branden.robinson@gmail.com> - 2018-12-27 20:40 -0500

#14980 — Re: Should [[ -v 1 ]] be supported?

From"G. Branden Robinson" <g.branden.robinson@gmail.com>
Date2018-12-27 20:40 -0500
SubjectRe: Should [[ -v 1 ]] be supported?
Message-ID<mailman.6431.1545961301.1284.bug-bash@gnu.org>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web