rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Byron Rakitzis <byron>
To: rc
Subject: apid as a list
Date: Mon, 19 Aug 1991 12:54:58 -0500	[thread overview]
Message-ID: <91Aug19.125506cdt.22531@archone.tamu.edu> (raw)

It's been suggested that $apid should be a list of all backgrounded jobs,
and that as soon as rc's wait builtin receives the exit status of an exiting
child, the appropriate $apid list entry should be removed.

I have certainly noticed myself writing code like:

foo &
apids=$apid
bar &
apids=($apid $apids)

...

kill $apids

I will probably implement this in a trial fashion, and ignore it if it is
too much work, but it doesn't look like it would be too hard. Any comments?


             reply	other threads:[~1991-08-19 17:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-08-19 17:54 Byron Rakitzis [this message]
1991-08-19 20:20 ` Boyd Roberts
1991-08-19 20:25 ` Mark-Jason Dominus
1991-08-20  7:38 Bengt KLEBERG

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=91Aug19.125506cdt.22531@archone.tamu.edu \
    --to=rc@hawkwind.utcs.toronto.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.
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).