rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Scott Schwartz <schwartz@groucho.cs.psu.edu>
To: rsalz@osf.org
Cc: rc@archone.tamu.edu
Subject: Re: Adding the '-s' flag?
Date: Mon, 15 Jun 1992 15:50:53 -0400	[thread overview]
Message-ID: <92Jun15.155107edt.2538@groucho.cs.psu.edu> (raw)
In-Reply-To: Your message of "Mon, 15 Jun 92 14:53:01 EDT." <9206151853.AA10384@earth.osf.org>


| I'd like to add the -s flag supported by sh and csh.
| It reads from stdin; all other command-line parameters get set into $*.

How about:

; rc -i /dev/fd/0 foo bar
; echo $*
foo bar

(Achieved on SunOS with some shared library hackery... Doesn't OSF/1
have /dev/fd builtin?)


  reply	other threads:[~1992-06-15 19:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-06-15 18:53 rsalz
1992-06-15 19:50 ` Scott Schwartz [this message]
     [not found] <9206171300.AA13571@earth.osf.org>
1992-06-17 13:01 ` John Mackin

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=92Jun15.155107edt.2538@groucho.cs.psu.edu \
    --to=schwartz@groucho.cs.psu.edu \
    --cc=rc@archone.tamu.edu \
    --cc=rsalz@osf.org \
    /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).