rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Scott Schwartz <schwartz@groucho.cs.psu.edu>
To: rc@archone.tamu.edu
Subject: eval vs &
Date: Thu, 9 Apr 1992 19:06:34 -0500	[thread overview]
Message-ID: <92Apr9.200644edt.2538@groucho.cs.psu.edu> (raw)


Consider this:

; x='sleep 3'
; eval $x &
16105
; x='sleep 3 &'
; eval $x
; # No pid?

/bin/sh would print the pid.

(Speaking of asynchronous processes, I kind of miss getting exit
notification and being able to find out what their exit status is ala
csh.  It's not as if rc isn't doing the wait() already.  Maybe when
file completion is done.... :-))



             reply	other threads:[~1992-04-10  0:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-04-10  0:06 Scott Schwartz [this message]
1992-04-10  0:19 Byron Rakitzis
1992-04-10  0:35 ` schwartz

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=92Apr9.200644edt.2538@groucho.cs.psu.edu \
    --to=schwartz@groucho.cs.psu.edu \
    --cc=rc@archone.tamu.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).