Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug Report: Env Vars and shell functions
- X-seq: zsh-workers 1630
- From: Anthony Heading <aheading@xxxxxxxxxxxx>
- To: hzoli@xxxxxxxxxx (Zoltan Hidvegi)
- Subject: Re: Bug Report: Env Vars and shell functions
- Date: Fri, 12 Jul 1996 17:01:19 +0100 (BST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199607121527.RAA09051@xxxxxxxxxxxxxxxxx> from "Zoltan Hidvegi" at Jul 12, 96 05:27:28 pm
> They were not really cosmetic. Had you applied these you would not have
> received this. These SEGV's are all caused by DPUTS, since it seems that
> you did not applied the patch which replaces X to Y in DPUTS in zsh.h line
> 1314.
Damn. Sorry, then. It was late.
> > On a related note, should the following not restore IFS?
> >
> > sun4% IFS=@ set a@b@c@d; echo $IFS
> > @
>
> Here is what POSIX says:
>
> (2) Variable assignments specified with special built-in utilities
> shall remain in effect after the built-in completes; this shall
> not be the case with a regular built-in or other utility.
> [ and ten other reasons why it wouldn't work...]
Aha. There isn't a copy of the POSIX standard on the net, is there? Then I
could stop identifying spurious non-bugs. But IFS=$OLDIFS is so *ugly*.
> I'm writing these because these differences between zsh and POSIX are
> probably the most important ones. Other than that zsh is now mostly POSIX
> conformant (POSIX does not allow the MAGICEQUALS behaviour of the typeset
> family but all other shells (bash, ksh93 and pdksh) do that unles
> POSIXLY_CORRECT is defined).
Those are pretty useful to know. Thanks.
A
Messages sorted by:
Reverse Date,
Date,
Thread,
Author