bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

excess braces ignored: bug or feature ?


From: Mike Frysinger
Subject: excess braces ignored: bug or feature ?
Date: Fri, 17 Feb 2012 14:51:27 -0500
User-agent: KMail/1.13.7 (Linux/3.2.0; KDE/4.6.5; x86_64; ; )

can't tell if this is a bug or a feature.

FOO= BAR=bar
: ${FOO:=${BAR}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
echo $FOO

i'd expect an error, or FOO to contain those excess braces.  instead, FOO is 
just "bar".
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]