* History and $!
@ 2000-12-05 17:11 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2000-12-05 17:11 UTC (permalink / raw)
To: zsh-workers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-05 17:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-05 17:11 History and $! Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).