zsh-workers
 help / color / mirror / Atom feed
* [bug] wrong xtrace output with ARGV0=arg0 cmd
@ 2021-05-23  6:03 Stephane Chazelas
  2021-05-23 20:16 ` Daniel Shahaf
  0 siblings, 1 reply; 2+ messages in thread
From: Stephane Chazelas @ 2021-05-23  6:03 UTC (permalink / raw)
  To: Zsh hackers list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [bug] wrong xtrace output with ARGV0=arg0 cmd
  2021-05-23  6:03 [bug] wrong xtrace output with ARGV0=arg0 cmd Stephane Chazelas
@ 2021-05-23 20:16 ` Daniel Shahaf
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Shahaf @ 2021-05-23 20:16 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-23 20:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-23  6:03 [bug] wrong xtrace output with ARGV0=arg0 cmd Stephane Chazelas
2021-05-23 20:16 ` Daniel Shahaf

zsh-workers

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/zsh-workers

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-workers zsh-workers/ http://inbox.vuxu.org/zsh-workers \
		zsh-workers@zsh.org
	public-inbox-index zsh-workers

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


code repositories for the project(s) associated with this inbox:

	https://git.vuxu.org/mirror/zsh/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git