Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[bug] backslash stripped in sh/ksh emulation
- X-seq: zsh-workers 21860
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: [bug] backslash stripped in sh/ksh emulation
- Date: Tue, 11 Oct 2005 09:38:42 +0100
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: Stephane Chazelas <stephane_chazelas@xxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author