On Wed, Aug 09, 2006 at 10:45:42PM +0100, martin f krafft wrote:
> This is a bug because the following works in dash and it's not
> supposed to:
>
> eval $(while [ -n "${1:-}" ]; do
> case "$1" in
> [EMAIL PROTECTED]) echo remote="$1";;
> esac
> shift
> done)
>
> bash and zsh
tags 382276 wontfix
thanks
also sprach Gerrit Pape <[EMAIL PROTECTED]> [2006.10.23.1811 +0200]:
> after all dash parses the code correctly, and I personally think a
> decent parser should well be able to identify the first ) not to be the
> close bracket for the subshell. I understand that there'
Package: dash
Version: 0.5.3-3
Severity: normal
This is a bug because the following works in dash and it's not
supposed to:
eval $(while [ -n "${1:-}" ]; do
case "$1" in
[EMAIL PROTECTED]) echo remote="$1";;
esac
shift
done)
bash and zsh both fail as they correctly identify t
3 matches
Mail list logo