public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Leo Mauro" <lmauro@scientist.com>
To: <gnu-win32@cygnus.com>
Subject: RE: Asterisk expansion...
Date: Sat, 25 Jul 1998 10:30:00 -0000	[thread overview]
Message-ID: <000001bdb7ed$da031850$1e6e31cf@leo-nt.rd.telesystech.com> (raw)
In-Reply-To: <19980725181402.12991@mundook.cs.mu.OZ.AU>

On Saturday, July 25, 1998 04:14 AM Fergus Henderson wrote:

> > > So why does it expand the glob in the first instance, and not unescape
> > > them in the second?
> >
> > It is the shells job to do the globbing not the programs.
>
> Then why does gnu-win32 do the globbing in the case of the command
> `echo *.*'?

Every program using the cygwin32 DLL includes startup code to check
whether it is running under a shell also using cygwin32.  If so, the code
assumes the shell already did argument globbing at it leaves the arg
list alone.  If not, the startup code does the argument processing and
globbing itself (it assumes the program is running under COMMAND.COM
or CMD.EXE).  This allows programs to take "wildcard" arguments
regardless of the shell they're running under.

Leo Mauro
Principal Scientist
TeleSys Technologies, Inc.

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

  reply	other threads:[~1998-07-25 10:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-24 12:58 Earnie Boyd
1998-07-25  1:22 ` Fergus Henderson
1998-07-25 10:30   ` Leo Mauro [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-07-31 12:10 Earnie Boyd
1998-07-31  3:03 Earnie Boyd
1998-07-29 17:43 Andrew Dalgleish
1998-07-28  5:54 Andrew Dalgleish
1998-07-28  0:57 Robertson, Jason V
1998-07-27 15:12 ` Michael Weiser
1998-07-27 14:23 Earnie Boyd
1998-07-27 14:23 ` Fergus Henderson
1998-07-27  9:00 Earnie Boyd
1998-07-27  9:00 ` Fergus Henderson
     [not found] <35B93BE2.2642EDA3@home.com>
1998-07-25 18:10 ` Jason V Robertson
1998-07-27 14:23   ` Michael Weiser
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
1998-07-25  4:14   ` Fergus Henderson

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='000001bdb7ed$da031850$1e6e31cf@leo-nt.rd.telesystech.com' \
    --to=lmauro@scientist.com \
    --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).