[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
quote nesting bug
From: |
Matt Zyzik |
Subject: |
quote nesting bug |
Date: |
Fri, 19 Nov 2010 13:20:22 -0500 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
bug-bash,
I am noticing a behavior that appears to be a bug. Additionally, what I
am expecting to happen is the actual behavior in both Zsh and Ksh.
This is the command (ignore leading whitespace):
echo "${fpbnoinervzkjeh:-'good morning}"
This is the output in both Zsh and Ksh (ignore leading whitespace):
'good morning
In Bash, there is no output, only a prompt that appears. However, the
following command (ignore leading whitespace):
echo "${fpbnoinervzkjeh:-''good morning}"
produces the following output in all 3 shells (ignore leading whitespace):
''good morning
Can I request comment? Thank you.
--Matt Zyzik
- quote nesting bug,
Matt Zyzik <=