zsh-workers
 help / color / mirror / code / Atom feed
* case $? fails
@ 1997-02-27 19:08 Roderick Schertler
  1997-02-27 21:50 ` Zoltan T. Hidvegi
  0 siblings, 1 reply; 6+ messages in thread
From: Roderick Schertler @ 1997-02-27 19:08 UTC (permalink / raw)
  To: zsh-workers

Running this script

    #!/bin/zsh -f

    print "version $ZSH_VERSION"

    false
    case $? in
	0)  print "case says \$? is 0";;
    esac

    false
    print "\$? was actually $?"

gives me this buggy result

    version 3.0.3-test4
    case says $? is 0
    $? was actually 1

on both freebsd and dgux.

-- 
Roderick Schertler
roderick@argon.org


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

end of thread, other threads:[~1997-02-28 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-02-27 19:08 case $? fails Roderick Schertler
1997-02-27 21:50 ` Zoltan T. Hidvegi
1997-02-28 16:20   ` Bart Schaefer
1997-02-28 16:23     ` Zoltan T. Hidvegi
1997-02-28 17:52       ` Bart Schaefer
     [not found]   ` <hzoli@vnet.ibm.com>
1997-02-28 16:31     ` 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).