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

Re: preventing the leading space in process substitution



On Wed 10.Sep.08 12:13, Stephane Chazelas wrote:
On Wed, Sep 10, 2008 at 11:45:11AM +0200, Angel Olivera wrote:
One alternative is:

  mycommand -file=$(print =(...))

but there must be a nicer way.


[...]

You could also do:

mycommand -file=/dev/fd/3 3<> =(...)

If your system supports /dev/fd/<n>

Nice, thank you.

--
redondos

Attachment: signature.asc
Description: Digital signature



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