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

Re: virtual files?



Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:

> Thus
>
>     () { cat $1 } =(echo foo)
>
> also prints foo. The ":" command is just a quick
> built-in no-op that produces no output, so that the
> temporary file created by =(:) will be empty.

Got it!

This also means if you want to have several local
files (names to temporary files) in the same limited
scope you have to stack several =(:) as well!

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 26 Blogomatic articles -                   



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