zsh-workers
 help / color / mirror / code / Atom feed
* Is this a bug or a thinko?
@ 2000-09-11  0:53 Bart Schaefer
  2000-09-11  1:00 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Bart Schaefer @ 2000-09-11  0:53 UTC (permalink / raw)
  To: zsh-workers

I've just been noticing several places where the completion system does
comparisons like

	[[ CURRENT -eq 1 ]]

In my patched version of 3.1.9-dev-6, CURRENT in this context is NOT being
interpreted as a math expression.  That is, one must do

	[[ $CURRENT -eq 1 ]]

to get the correct result.

Is failure to use math context in this situation a recently-introduced bug?
Or have the completion functions been wrong all along?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Is this a bug or a thinko?
  2000-09-11  0:53 Is this a bug or a thinko? Bart Schaefer
@ 2000-09-11  1:00 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2000-09-11  1:00 UTC (permalink / raw)
  To: zsh-workers

On Sep 11, 12:53am, Bart Schaefer wrote:
}
} I've just been noticing [...]

Never mind, it's my own thinko.  I'm misreading some xtrace output.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-09-11  1:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-11  0:53 Is this a bug or a thinko? Bart Schaefer
2000-09-11  1:00 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).