Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
case $? fails
- X-seq: zsh-workers 2937
- From: Roderick Schertler <roderick@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: case $? fails
- Date: Thu, 27 Feb 1997 14:08:26 -0500
- Sender: roderick@xxxxxxxxxx
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@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author