Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[bug] wrong xtrace output with ARGV0=arg0 cmd
- X-seq: zsh-workers 48901
- From: Stephane Chazelas <stephane@xxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [bug] wrong xtrace output with ARGV0=arg0 cmd
- Date: Sun, 23 May 2021 07:03:22 +0100
- Archived-at: <https://zsh.org/workers/48901>
- List-id: <zsh-workers.zsh.org>
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxx>
Consider this reproducer:
$ zsh -c 'set -x; ARGV0=foo /bin/echo x'
+zsh:1> ARGV0=foo foo x
x
Expected:
+zsh:1> ARGV0=foo /bin/echo x
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author