zsh-workers
 help / color / mirror / code / Atom feed
* [bug] backslash stripped in sh/ksh emulation
@ 2005-10-11  8:38 Stephane Chazelas
  2005-10-11  8:53 ` Stephane Chazelas
  2005-10-11 11:36 ` Peter Stephenson
  0 siblings, 2 replies; 9+ messages in thread
From: Stephane Chazelas @ 2005-10-11  8:38 UTC (permalink / raw)
  To: Zsh hackers list

Hi guys,

$ ARGV0=ksh zsh -xc 'a="\\*"; case $a in *\\*) echo a;; esac'
+ a='\*'
+ case * (*\*)

Can anyone explain it? It's OK if $a is quoted as in <case "$a">

After investigation, it appears it is triggered by globsubst.

Best regards,
Stéphane


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

end of thread, other threads:[~2005-10-11 15:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-11  8:38 [bug] backslash stripped in sh/ksh emulation Stephane Chazelas
2005-10-11  8:53 ` Stephane Chazelas
2005-10-11 11:36 ` Peter Stephenson
2005-10-11 11:43   ` Peter Stephenson
2005-10-11 12:57   ` Stephane Chazelas
2005-10-11 13:20     ` Peter Stephenson
2005-10-11 14:45       ` Stephane Chazelas
2005-10-11 14:43   ` Bart Schaefer
2005-10-11 15:06     ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).