Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh 3.0/3.1 bug, zsh 3.1.4 regression
- X-seq: zsh-workers 4324
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: SL Baur <steve@xxxxxxxxxx>
- Subject: Re: zsh 3.0/3.1 bug, zsh 3.1.4 regression
- Date: Wed, 19 Aug 1998 00:36:45 -0700
- Cc: info-cvs@xxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <m2emud8ob0.fsf@xxxxxxxxxxxxxxxxx>
- References: <m2r9yecfv6.fsf@xxxxxxxxxxxxxxxxx> <980818144158.ZM6993@xxxxxxxxxxxxxxxxxxxxxxx> <m2emud8ob0.fsf@xxxxxxxxxxxxxxxxx>
On Aug 18, 11:42pm, SL Baur wrote:
} Subject: Re: zsh 3.0/3.1 bug, zsh 3.1.4 regression
}
} Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:
}
} > $^! is $! with the RC_EXPAND_PARAM option turned on. Try this:
}
} Why should this option be turned on when zsh is executed as /bin/sh?
Er, no, you misunderstand. Placing a ^ after the $ *means* "turn on
the option for this one expansion only." The option *is* off, under
all other circumstances, when emulating sh or ksh.
Zsh does not alter its parameter expansion (variable) syntax, except
for using 0-based vs. 1-based arrays, even when emulating.
} > It might be possible for zsh to special-case use of the ^ modifier,
}
} Why should it be using a csh abomination when it is invoked as /bin/sh?
This is not "a csh abomination." Csh does nothing of the kind. It's
been standard zsh syntax for quite a long while now, and only zsh has it
that I know of.
} > but really the cvs test should be using a quoted here-document, like
} > so:
}
} Agreed.
Then let's not bother info-cvs with any more of this thread.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author