rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Chris Siebenmann <cks>
To: rc
Subject: Interesting things from the Plan 9 rc manpage
Date: Tue, 27 Oct 1992 05:52:30 -0500	[thread overview]
Message-ID: <92Oct27.055244est.2771@hawkwind.utcs.toronto.edu> (raw)

 $" is the Plan 9 rc syntax for Byron's $^ string flattening operator.
 'if not' is still there.
 The Plan 9 rc has a number of interesting options:
	-s:	Print out exit status after any command where the
		status is non-null (false).
	-I:	Do not run interactively, regardless of whether or
		not standard input is attached to a terminal.
 -p is listed as a no-op; presumably no one has bothered implementing
it.
 There's a 'flag' builtin that lets you test, set, and clear the
status of command-line flags.

 The manual page doesn't have a FILES section, so I don't know if the
Plan 9 rc has abandoned the 'source a file on startup' approach (the
copy of Duff's rc I have sources a file, but it's moderately old).

 Interestingly, one of the entries in the BUGS section is
	It's too slow and too big.
(as well as
	There should be a way to match patterns against whole lists
	rather than just single strings.
which I think some people here have wanted in the past.)

	- cks


             reply	other threads:[~1992-10-27 10:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-10-27 10:52 Chris Siebenmann [this message]
1992-10-27 16:08 ` Scott Schwartz
1992-10-28  1:17 Byron Rakitzis
1992-10-28  1:57 ` noel
1992-10-28  1:59 ` noel
1992-10-28  5:59 ` James Matthew Farrow
1992-10-28  3:14 Paul Haahr
1992-10-28  3:39 ` Chris Siebenmann
1992-10-28  4:00   ` Jeremy Fitzhardinge
1992-10-28  4:07 Paul Haahr
1992-10-28  4:20 ` Jeremy Fitzhardinge
1992-10-28  4:27 ` Chris Siebenmann
1992-10-28  5:10 Chris Siebenmann
1992-10-28 15:27 Paul 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=92Oct27.055244est.2771@hawkwind.utcs.toronto.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).