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 not received any other complaints about this.
The System V shell (e.g. /bin/sh on Solaris <= 10) behaves similarly. -- Jilles Tjoelker -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org