rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Mark-Jason Dominus <mjd@saul.cis.upenn.edu>
To: rc@archone.tamu.edu
Cc: mjd@saul.cis.upenn.edu
Subject: Re: f.c.
Date: Mon, 1 Jul 1991 16:04:31 -0500	[thread overview]
Message-ID: <9107012104.AA01620@saul.cis.upenn.edu> (raw)
In-Reply-To: Your message of "Mon, 01 Jul 91 14:04:57 CDT." <91Jul1.140500cdt.22543@archone.tamu.edu>


> 1) I don't want to add a new feature to rc unless someone cannot do
> what they need to do without it.

For several weeks, I have been debating whether or not to ask for a
`...' feature.  I have always refrained.  It was not much work to code
up a version of `seq' and use that, and I find that it works well
enough.  

There are exactly two things I like about rc:

	1.  It is very fast.

	2.  The syntax is very simple.

The rest I can take or leave, but these two qualities were enough to
convince me to switch shells and redo all my .alias and ...rc files.
Until rc, I had never used a shell in which it was obvious how to quote
any given construction.  Today I catted a file called
Frequently_Asked_Questions_about_Unix_-_with_Answers_[Monthly_posting]
and I did not have to worry about metacharacters.  I can type a
multiline awk script on the command line and not worry about the shell
interpreting my awk script.  This is a big deal for me.  Even with sh, I
found that it was difficult to predict just how a certain construct
might be evaluated.  rc does the same thing every time.

I think it would be a shame to see these two qualities go away.  Putting
a `seq' or `...' operator into the language might be convenient, but it
wouldn't be much more convenient than using an external `seq'.  I would
rather spend my `very fast' advantage on exec'ing external programs than
mess up the neat syntax.



  reply	other threads:[~1991-07-01 21:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1991-07-01 19:04 f.c Byron Rakitzis
1991-07-01 21:04 ` Mark-Jason Dominus [this message]
1991-07-01 20:33 f.c Donn Cave

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=9107012104.AA01620@saul.cis.upenn.edu \
    --to=mjd@saul.cis.upenn.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).