From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26573 invoked from network); 10 Oct 2003 02:12:30 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 10 Oct 2003 02:12:30 -0000 Received: (qmail 21856 invoked by alias); 10 Oct 2003 02:12:12 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6680 Received: (qmail 21818 invoked from network); 10 Oct 2003 02:12:12 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 10 Oct 2003 02:12:12 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [4.3.58.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 10 Oct 2003 2:12:11 -0000 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id h9A2CAR11245 for zsh-users@sunsite.dk; Thu, 9 Oct 2003 19:12:10 -0700 From: Bart Schaefer Message-Id: <1031010021210.ZM11244@candle.brasslantern.com> Date: Fri, 10 Oct 2003 02:12:10 +0000 In-Reply-To: <1810.1065734940@athlon> Comments: In reply to Oliver Kiddle "Re: Useful zsh/datetime things" (Oct 9, 11:29pm) References: <1031009172754.ZM10491@candle.brasslantern.com> <1810.1065734940@athlon> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: Re: Useful zsh/datetime things MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 9, 11:29pm, Oliver Kiddle wrote: } } Bart wrote: } > A useful addition to strftime would be an option to assign the } > result to a parameter } } Don't really see the point of that. $(...) does the job and it is more } obvious But $(...) forks a copy of the shell, which is a lot more expensive than assigning to a parameter. Even an option to set $REPLY would be sufficient. It doesn't need to take the name of the parameter as an argument. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net