Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: preventing the leading space in process substitution
- X-seq: zsh-users 13206
- From: Angel Olivera <redondos@xxxxxxxxxxx>
- To: zsh users mailing list <zsh-users@xxxxxxxxxx>
- Subject: Re: preventing the leading space in process substitution
- Date: Wed, 10 Sep 2008 11:45:11 +0200
- In-reply-to: <20080909144101.GA30693@xxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh users mailing list <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080909144101.GA30693@xxxxxxxxxxxxxxxxxxxx>
On Tue 09.Sep.08 15:41, martin f krafft wrote:
I am trying to use <(...) to pass a file to a command that expects
the file argument following an equal sign, like so:
mycommand -file=/path/to/some/file
The problem is that
mycommand -file=<(...)
seems to yield
mycommand -file= /proc/self/fd/16
with the space before the filename. How do I prevent that?
Also, how would one use =() in this case?
One alternative is:
mycommand -file=$(print =(...))
but there must be a nicer way.
--
redondos
Attachment:
signature.asc
Description: Digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author