From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: Really weird bug
Date: Fri, 12 Jul 1996 13:49:25 +0200 [thread overview]
Message-ID: <199607121149.NAA22320@hydra.ifh.de> (raw)
In-Reply-To: "schaefer@candle.brasslantern.com"'s message of "Thu, 11 Jul 1996 17:25:44 MET." <960711172548.ZM10787@candle.brasslantern.com>
schaefer@candle.brasslantern.com wrote:
> Where the heck is the string "fg" coming from here?
>
> zagzig<69> for p in %h
> > do echo "$p"
> > done
> fg
> %h
*** Src/exec.c.fg Thu Jul 11 14:41:32 1996
--- Src/exec.c Fri Jul 12 13:47:26 1996
***************
*** 1122,1128 ****
/* If the command begins with `%', then assume it is a *
* reference to a job in the job table. */
! if (nonempty(args) && *(char *)peekfirst(args) == '%') {
pushnode(args, dupstring((how & Z_DISOWN)
? "disown" : (how & Z_ASYNC) ? "bg" : "fg"));
how = Z_SYNC;
--- 1122,1128 ----
/* If the command begins with `%', then assume it is a *
* reference to a job in the job table. */
! if (type == SIMPLE && nonempty(args) && *(char *)peekfirst(args) == '%') {
pushnode(args, dupstring((how & Z_DISOWN)
? "disown" : (how & Z_ASYNC) ? "bg" : "fg"));
how = Z_SYNC;
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
prev parent reply other threads:[~1996-07-12 12:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-12 0:25 Bart Schaefer
1996-07-12 8:32 ` Zefram
1996-07-12 14:57 ` Bart Schaefer
1996-07-12 11:49 ` Peter Stephenson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199607121149.NAA22320@hydra.ifh.de \
--to=pws@ifh.de \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).