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 4321
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: SL Baur <steve@xxxxxxxxxx>
- Subject: Re: zsh 3.0/3.1 bug, zsh 3.1.4 regression
- Date: Tue, 18 Aug 1998 14:41:58 -0700
- Cc: info-cvs@xxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <m2r9yecfv6.fsf@xxxxxxxxxxxxxxxxx>
- References: <m2r9yecfv6.fsf@xxxxxxxxxxxxxxxxx>
On Aug 18, 11:19am, SL Baur wrote:
> Subject: zsh 3.0/3.1 bug, zsh 3.1.4 regression
>
> The following problem, which exists in zsh 3.0.4 and 3.1.3 and 3.1.4
> causes the cvs-1.10 regression tests to fail when /bin/sh is symlinked
> to zsh. [this is from test `devcom3-5'.]
>
> $ cat <<EOF
> Enew line here
> G@#$^!@#=&
> EOF
> Enew line here
> G@#0@#=&
$^! is $! with the RC_EXPAND_PARAM option turned on. Try this:
$ sleep 10 &
$ cat <<EOF
Enew line here
G@#$^!@#=&
EOF
Enew line here
G@#24108@#=&
^^^^^
Note process ID here
It might be possible for zsh to special-case use of the ^ modifier, but
really the cvs test should be using a quoted here-document, like so:
cat <<'EOF'
Enew line here
G@#$^!@#=&
EOF
This should work correctly in bash, ksh, and sh, as well as zsh.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author