public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Mike Bandy <bandy@aplcomm.jhuapl.edu>
To: gnu-win32@cygnus.com
Subject: Re: Asterisk expansion...
Date: Fri, 24 Jul 1998 12:58:00 -0000	[thread overview]
Message-ID: <Pine.SOL.3.91.980724122420.10775C-100000@aplcomm.jhuapl.edu> (raw)
In-Reply-To: <7BEBE893ABDFD111AC3F00A0C96B159F5C4CD6@FMSMSX32>

On Thu, 23 Jul 1998, Robertson, Jason V wrote:

> There seems to be an inconsistency in how * is interpreted.  When you
> run, say, 'echo.exe' from the commandline you get the following:
> C:> echo *.*
> <Contents of C: are listed>
> C:> echo \*.\*
> \*.\*
> 
> So why does it expand the glob in the first instance, and not unescape
> them in the second?  And doesn't this mean it's impossible to echo the
> string:
> *.*
> from cmd?

echo '*.*'

Strings put in single quotes are not expanded by the shell.

	Mike
--
Mike Bandy                  |  As cool as the pale wet leaves
michael.bandy@jhuapl.edu    |                  of lily-of-the-valley
Johns Hopkins University    |  She lay beside me in the dawn.
Applied Physics Laboratory  |      -Ezra Pound

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

  parent reply	other threads:[~1998-07-24 12:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-23 15:30 Robertson, Jason V
1998-07-24 11:17 ` Matthias Morche
1998-07-24 12:58 ` Mike Bandy [this message]
1998-07-25  0:08 ` Michael Hirmke
1998-07-25  4:14   ` Fergus Henderson
1998-08-02 15:23 ` OT: Re: Asterisk expansion...[Was: unsubscribe] Björn Kulms
1998-07-24 12:58 Asterisk expansion Earnie Boyd
1998-07-25  1:22 ` Fergus Henderson
1998-07-25 10:30   ` Leo Mauro
     [not found] <35B93BE2.2642EDA3@home.com>
1998-07-25 18:10 ` Jason V Robertson
1998-07-27 14:23   ` Michael Weiser
1998-07-27  9:00 Earnie Boyd
1998-07-27  9:00 ` Fergus Henderson
1998-07-27 14:23 Earnie Boyd
1998-07-27 14:23 ` Fergus Henderson
1998-07-28  0:57 Robertson, Jason V
1998-07-27 15:12 ` Michael Weiser
1998-07-28  5:54 Andrew Dalgleish
1998-07-29 17:43 Andrew Dalgleish
1998-07-31  3:03 Earnie Boyd
1998-07-31 12:10 Earnie Boyd

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=Pine.SOL.3.91.980724122420.10775C-100000@aplcomm.jhuapl.edu \
    --to=bandy@aplcomm.jhuapl.edu \
    --cc=gnu-win32@cygnus.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).