Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: globsubst and =command
- X-seq: zsh-workers 11409
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: globsubst and =command
- Date: Tue, 16 May 2000 14:41:12 +0200 (MET DST)
- In-reply-to: Tanaka Akira's message of 16 May 2000 08:09:22 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Tanaka Akira wrote:
> Z(4):akr@serein% Src/zsh -f
> serein% print -r =ls
> /bin/ls
> serein% a='=ls'
> serein% print -r - $~a
> =ls
> serein%
>
> Since the expansion of =command is kind of filename expansion and ~
> enables filename expansion on the result, I think $~a should be expand
> to /bin/ls. Do I miss something?
I don't think it should do that because it really is something
completely different. But maybe we should change ${(e)foo} to do that
and brace expansion?
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author