Bug#570757: dash: cannot parse multiline parameter expansion

2010-06-14 Thread Gerrit Pape
severity 570757 minor quit On Sun, May 30, 2010 at 07:12:19PM +0200, Jilles Tjoelker wrote: > FreeBSD's ash derivative has a similar restriction (newlines inside ${} > must be quoted via single-quotes, double-quotes or here document). I > think this is a feature as it allows detecting syntax error

Bug#570757: dash: cannot parse multiline parameter expansion

2010-05-30 Thread Jilles Tjoelker
FreeBSD's ash derivative has a similar restriction (newlines inside ${} must be quoted via single-quotes, double-quotes or here document). I think this is a feature as it allows detecting syntax errors where you still have a chance to see the problem easily rather than 100 lines later, and I have n

Bug#570757: dash: cannot parse multiline parameter expansion

2010-02-21 Thread Roman Cheplyaka
Package: dash Version: 0.5.4-12 Severity: normal flit:~% cat x1.sh echo ${x:- yyy zzz } flit:~% bash < x1.sh yyy zzz flit:~% dash < x1.sh dash: Syntax error: Missing '}' See http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html section 2.6.2 Parameter Expansion: The format fo