Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: POSIX (Was: PATCH: "sh" job control)
- X-seq: zsh-workers 8120
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: POSIX (Was: PATCH: "sh" job control)
- Date: Fri, 1 Oct 1999 06:23:29 +0000
- In-reply-to: <slrn7v84ag.fe4.mason@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <E11WhZy-00015a-00@xxxxxxxxxxxxxxxxxx> <19990930110741.B13153@xxxxxxxx> <slrn7v84ag.fe4.mason@xxxxxxxxxxxxxxxxxxxxx>
On Oct 1, 1:41am, Geoff Wing wrote:
} Subject: POSIX (Was: PATCH: "sh" job control)
}
} On the topic of POSIX:
} % touch asdasd; chmod 755 asdasd
} % ./asdasd ; echo $?
} zsh: exec format error: ./asdasd
} 1 # <-- POSIX says 126
} % ./foobar
} zsh: no such file or directory: ./foobar
} 1 # <-- POSIX says 127
On my RedHat 5.2 system, bash says:
$ ./asdasd ; echo $?
0
$ ./foobar ; echo $?
bash: ./foobar: No such file or directory
126
So I don't think I'm going to complain too loudly about zsh.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author