From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19522 invoked by alias); 21 Apr 2016 08:05:57 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21469 Received: (qmail 13412 invoked from network); 21 Apr 2016 08:05:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: zsh-users@zsh.org To: zsh-users@zsh.org From: Emanuel Berg Subject: Re: virtual files? Date: Thu, 21 Apr 2016 08:05:43 +0000 Message-ID: <87h9ev1j54.fsf@student.uu.se> References: <8760vdrt5y.fsf@student.uu.se> <87zisneh10.fsf@student.uu.se> <160420235800.ZM15082@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-9ce1e655.08-680-7570702.cust.bredbandsbolaget.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Mail-Copies-To: never Cancel-Lock: sha1:eYhNjUdGG9DQ34smFG1l5PC7aXU= Bart Schaefer 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 -