rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Byron Rakitzis <byron>
To: rc
Subject: Re: Match operator puzzlement
Date: Mon, 3 Feb 1992 11:09:06 -0600	[thread overview]
Message-ID: <92Feb3.110919cst.45330@archone.tamu.edu> (raw)

Re: evaluating *'s. The rule is simple. Globbing happens after
nearly everything else, so if you have a command that begins
with a ~, the ~ will "steal" the metacharacters:

	foo='*'

	eval ~ bar $foo

gets rescanned as

	~ bar *

which returns true.


             reply	other threads:[~1992-02-03 17:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-02-03 17:09 Byron Rakitzis [this message]
  -- strict thread matches above, loose matches on Subject: below --
1992-02-02 20:20 Tom Culliton x2278
1992-02-01 19:46 malte
1992-02-01 18:43 malte
1992-02-01 17:49 Byron Rakitzis
1992-02-01 18:02 ` John Mackin
1992-01-31 21:01 Tom Culliton x2278
1992-02-01 16:02 ` 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=92Feb3.110919cst.45330@archone.tamu.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).