Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: globsubst and =command



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