public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: mh@mike.franken.de (Michael Hirmke)
To: gnu-win32@cygnus.com
Subject: Re: Asterisk expansion...
Date: Sat, 25 Jul 1998 00:08:00 -0000	[thread overview]
Message-ID: <6yUrB-W4pfB@mike.franken.de> (raw)
In-Reply-To: <7BEBE893ABDFD111AC3F00A0C96B159F5C4CD6@FMSMSX32>

Hi Robertson,,

>Hi,
>
>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?

You are assuming, that command.com / cmd.exe are using \ to escape
characters, which isn't the case. At best DOS shells would assume, that
you want to list all files in all directories, when you type \*.\* -
because \ is the path separator!

[...]
>Thanks,
>Jason

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh@mike.franken.de
                         | WWW     http://aquarius.franken.de/
-
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-25  0:08 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
1998-07-25  0:08 ` Michael Hirmke [this message]
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=6yUrB-W4pfB@mike.franken.de \
    --to=mh@mike.franken.de \
    --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).