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

Re: Is ${} supported?



Zoltan Hidvegi wrote:
> > The "null" parameter seems useful to allow the following sort of thing:
> > 
> > % echo ${(j/+/):-{one,two,three}}
> > one+two+three
> 
> It can be relied on.

Just as a matter of interest, why does the following not work the same
way?

% print ${(j/,/):-/proc/*(U:t)} 
23020 23048 23051 23052 23062 26604

-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77413
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.



Messages sorted by: Reverse Date, Date, Thread, Author