From: olsenc@ichips.intel.com (Clint Olsen)
To: zsh-workers@math.gatech.edu
Subject: Re: Zsh reporting bad return status of commands
Date: Tue, 28 Jan 1997 08:56:22 -0800 [thread overview]
Message-ID: <19970128085622.NH31021@@> (raw)
In-Reply-To: <11269.199701281458@stone.dcs.warwick.ac.uk>; from Zefram on Jan 28, 1997 14:58:56 +0000
On Jan 28, Zefram wrote:
> Clint Olsen wrote:
> >On HP-UX for some reason, 3.0 started doing this:
> >
> >/foo not found
> >zsh: exit 2 ls -AF /foo
> >
> >It doesn't exhibit this behavior on SunOS. It's not that big of a deal,
> >but it's rather irritating to see the extra output.
>
> This output is controlled by a zsh option, PRINT_EXIT_VALUE. Use
> "setopt noprintexitvalue" to disable it. Or, since it's off by
> default, remove the "setopt printexitvalue" from your
> .z(profile|login|sh(rc|env)).
Interesting. Then it must be broken on SunOS since it is also set there
but it doesn't print out the bad exit status.
pdxgp1 ~# uname -a
SunOS pdxgp1 4.1.3 10 sun4m
pdxgp1 ~# setopt
allexport
autolist
automenu
interactive
login
monitor
printexitvalue
rcexpandparam
shinstdin
zle
pdxgp1 ~# ls /foo
/foo not found
-Clint
--
Clint Olsen . __
olsenc@ichips.intel.com /o \/ o
. \__/\
next prev parent reply other threads:[~1997-01-28 17:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-27 22:15 Clint Olsen
1997-01-28 14:58 ` Zefram
1997-01-28 16:56 ` Clint Olsen [this message]
1997-01-28 17:13 ` Zefram
1997-01-29 12:52 ` Risto J Laitinen
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=19970128085622.NH31021@@ \
--to=olsenc@ichips.intel.com \
--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).