Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [bug] wrong xtrace output with ARGV0=arg0 cmd



Stephane Chazelas wrote on Sun, 23 May 2021 06:03 +00:00:
> 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

Sounds right.  Have you perchance got a minute to implement this as
a regression test (with the 'f' flag)?  No problem if not.

Thanks,

Daniel




Messages sorted by: Reverse Date, Date, Thread, Author