Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: Dynamically adding to $mailpath?
- X-seq: zsh-users 5597
- From: Borzenkov Andrey <Andrey.Borzenkov@xxxxxxxxxxx>
- To: "'Aidan Kehoe'" <kehoea@xxxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: RE: Dynamically adding to $mailpath?
- Date: Thu, 19 Dec 2002 15:30:00 +0300
- Importance: Normal
- In-reply-to: <15873.46479.842079.657817@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
> > 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