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
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
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
3 matches
Mail list logo