zsh-workers
 help / color / mirror / code / Atom feed
From: Roderick Schertler <roderick@argon.org>
To: zsh-workers@math.gatech.edu
Subject: case $? fails
Date: Thu, 27 Feb 1997 14:08:26 -0500	[thread overview]
Message-ID: <7139.857070506@eeyore.ibcinc.com> (raw)

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


             reply	other threads:[~1997-02-27 19:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-27 19:08 Roderick Schertler [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7139.857070506@eeyore.ibcinc.com \
    --to=roderick@argon.org \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).