rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: "Julian L. Ho" <jh6j+@andrew.cmu.edu>
To: rc@archone.tamu.edu
Subject: file globbing on command names
Date: Fri, 10 Jan 1992 14:45:58 -0600	[thread overview]
Message-ID: <695075883.4747.0@sherlock.bh.andrew.cmu.edu> (raw)

(from the rc man page:

   PATTERN MATCHING
     There are two forms of pattern matching in rc.  One is traditional shell
     globbing.  This occurs in matching for file names in argument lists:

          command argument argument ...

     When the characters *, [ or ?  occur in an argument, rc looks at the
     argument as a pattern for matching against files.
)

rc 1.2 seems to glob commands as well as arguments.  either it or the man page
needs changed...  the man page seems to say that if I have an executable at
the front of my path named 'echo?', i can type:

	echo? foo bar

to run it...  but this isn't so if there is a file named 'echox' in the
current directory...  rc behaves as if I had typed 'echox foo bar'.

-J


                 reply	other threads:[~1992-01-10 21:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=695075883.4747.0@sherlock.bh.andrew.cmu.edu \
    --to=jh6j+@andrew.cmu.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).