One of those monumental days ........
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Nov 10 14:46:51 UTC 2005
On Wed, Nov 09, 2005 at 04:45:02PM -0500, Chris F.A. Johnson wrote:
> Then they were not POSIX scripts. Do you have examples?
I don't remember where I found it anymore. Just seemed weird that it
worked with bash 2.x, but broke on bash 3.x (I think the problem was
using a command in the script that bash 3.x had a builtin for that used
different syntax than the linux command did).
> While writing my book, I (or rather, the technical reviewer,
> William Park) found many examples of POSIX scripts that did not
> work on zsh.
Even when invoked as sh? i guess it is more aimed at being a great
interactive shell.
> According to its man page, zsh tries to emulate sh or ksh if it
> is invoked as sh. There is no mention of POSIX; ksh is the basis
> for, but is not entirely, POSIX, the degree of compliance
> depending on the version.
The man page mentions posix standards many times. I know it doesn't
really try to be just a plain shell, so I can believe by default it is
anything but a posix shell.
Lennart Sorensen
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list