From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: Problem with _expand, _path_files, and $(command)
Date: Mon, 3 Jul 2000 10:12:22 +0200 (MET DST) [thread overview]
Message-ID: <200007030812.KAA04547@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Sun, 2 Jul 2000 17:13:54 +0000
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
next reply other threads:[~2000-07-03 8:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-03 8:12 Sven Wischnowsky [this message]
2000-07-03 8:51 ` Bart Schaefer
-- strict thread matches above, loose matches on Subject: below --
2000-07-05 6:26 Sven Wischnowsky
2000-07-04 8:04 Sven Wischnowsky
2000-07-04 17:15 ` Bart Schaefer
2000-07-03 9:01 Sven Wischnowsky
2000-07-03 17:30 ` Bart Schaefer
2000-07-02 17:13 Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200007030812.KAA04547@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).