From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23756 invoked from network); 3 Jul 2000 08:12:30 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Jul 2000 08:12:30 -0000 Received: (qmail 21688 invoked by alias); 3 Jul 2000 08:12:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12135 Received: (qmail 21680 invoked from network); 3 Jul 2000 08:12:25 -0000 Date: Mon, 3 Jul 2000 10:12:22 +0200 (MET DST) Message-Id: <200007030812.KAA04547@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Sun, 2 Jul 2000 17:13:54 +0000 Subject: Re: PATCH: Problem with _expand, _path_files, and $(command) Bart Schaefer wrote: > ... > > After the patch below, there's still a problem with _path_files, because > the parens in $(exit 0) are interpreted as enclosing a glob qualifier, so > something else goes haywire: > > zagzig[88] echo $(exit 0) > zagzig[88] echo \$\*\(exit\ 0Om\) > > ... > > - tmp1=( $~tmp1 ) > + eval 'tmp1=( $~tmp1 )' 2>/dev/null Hrm. I don't like that eval there, especially if it still doesn't work. Shouldn't we just test for [[ $PREFIX$SUFFIX = *\$\(*\)* ]] and give up if that is true? Or am I missing something? Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de