Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: status codes on Dec OSF
- X-seq: zsh-workers 15039
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: status codes on Dec OSF
- Date: Fri, 22 Jun 2001 09:03:32 +0200 (MET DST)
- In-reply-to: <Pine.GSO.4.33.0106211734450.4860-100000@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Brian Harvell wrote:
> The following script produces different results when run on a dec machine vs
> a solaris machine. It seems the dec doesn't see the status code of the command
> if your setting the output to a varible.
Hrm. I have a DEC Alpha with OSF 4.0f, too, but it works for me
(with the current cvs version, but I don't think any of the recent
changes would have any effect on this):
+foo:1> FOO=+foo:1> jfkljfs
foo:1: command not found: jfkljfs
+foo:1> FOO=
+foo:2> echo 1
1
+foo:3> FOO=+foo:3> pwd
+foo:3> FOO=/home/wischnow/zsh/z/Src/ff
+foo:4> echo 0
0
+foo:6> jfkljfs
foo:6: command not found: jfkljfs
+foo:7> echo 1
1
+foo:8> pwd
/home/wischnow/zsh/z/Src/ff
+foo:9> echo 0
0
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author