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

RE: Dynamically adding to $mailpath?



>  > should work though. Unfortunately you still need one fork (echo) unless
> I
>  > miss some obvious way to treat result of nested globbing as array.
> 
> The echo is built-in, isn't it?
> 

Yes but you can't "read output of process" without forking this process. The
only case when $(...) is not forked is $(<file-name) which is replaced by
the content of file-name.

OTOH you are going to do it just once on startup, are not you? In which case
fork or not fork is irrelevant here. 

-andrey 



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