From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18274 invoked from network); 5 Dec 2000 17:11:46 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Dec 2000 17:11:46 -0000 Received: (qmail 9179 invoked by alias); 5 Dec 2000 17:11:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13240 Received: (qmail 9169 invoked from network); 5 Dec 2000 17:11:36 -0000 From: "Bart Schaefer" Message-Id: <1001205171128.ZM1580@candle.brasslantern.com> Date: Tue, 5 Dec 2000 17:11:28 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: History and $! MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This is not a very significant bug, but ... the history mechanism ignores $! some of the time: zsh% sleep 60 & zsh% echo $! 1507 But various other forms don't work: zsh% echo ${!} echo ${echo $!} zsh: bad substitution zsh% echo "$!" dquote> This problem has been around for a very long time. Of course, one can do zsh% echo ${\!} 1507 Or even zsh% echo $\! 1507 But that's a bit odd, because it doesn't work for any other variable name, and it doesn't work when history is not active. -- 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