rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: quanstro@stolaf.edu (Erik Quanstrom)
To: <rc@hawkwind.utcs.toronto.edu>
Subject: $pid
Date: Wed, 3 Jun 1992 19:17:53 -0400	[thread overview]
Message-ID: <9206032317.AA27591@stolaf.edu> (raw)

Rc does not update $pid when it forks, only when it is initalized. Consider

        ; @{echo $pid}
        296
        ; echo `{echo $pid}
        296
        ; echo $pid
        296

If this is not a bug, then it is certianlly a poor feature. [but, then again
sh is guilty of the same.]


             reply	other threads:[~1992-06-03 23:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-06-03 23:17 Erik Quanstrom [this message]
1992-06-03 23:49 ` $pid Chris Siebenmann
1992-06-05  1:16 ` $pid John Mackin
     [not found] <cks@hawkwind.utcs.toronto.edu>
1992-06-04 10:05 ` $pid malte
1992-06-04 12:14 $pid Erik Quanstrom
1992-06-04 16:57 $pid haahr
1992-06-04 17:01 $pid haahr

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=9206032317.AA27591@stolaf.edu \
    --to=quanstro@stolaf.edu \
    --cc=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).