All of lore.kernel.org
 help / color / mirror / Atom feed
* unexpected parameter expansion
@ 2010-05-19 19:19 Gerrit Pape
  2010-05-19 22:01 ` Jilles Tjoelker
  0 siblings, 1 reply; 3+ messages in thread
From: Gerrit Pape @ 2010-05-19 19:19 UTC (permalink / raw)
  To: dash

Hi, I get unexpected output with dash doing parameter expansions with }
within quotes involved, e.g.

$ dash -c 'foo=; echo ${foo:-"{a}bar"}'
{abar}
$ 

I expected:
{a}bar

http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581428

Sorry, I don't have a patch to suggest.

Thanks, Gerrit.

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

end of thread, other threads:[~2010-05-27 11:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19 19:19 unexpected parameter expansion Gerrit Pape
2010-05-19 22:01 ` Jilles Tjoelker
2010-05-27 11:41   ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.