public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Chris Faylor <cgf@cygnus.com>
To: Earnie Boyd <earnie_boyd@yahoo.com>
Cc: "Waldor Michael K3/EMW4\"" <Michael.Waldor@de.bosch.com>,
	cygwin users <cygwin@cygnus.com>
Subject: Re: B20: Bug? backslashes and stars within args of ls
Date: Thu, 04 Mar 1999 08:08:00 -0000	[thread overview]
Message-ID: <19990304110845.B1226@cygnus.com> (raw)
In-Reply-To: < 19990303155126.14113.rocketmail@send1e.yahoomail.com >; from Earnie Boyd on Wed, Mar 03, 1999 at 07:51:26AM -0800

On Wed, Mar 03, 1999 at 07:51:26AM -0800, Earnie Boyd wrote:
>---"Waldor Michael (K3/EMW4)" <Michael.Waldor@de.bosch.com> wrote:
>8<
>> not ok: ls c:\\temp\\f*
>> //i/programme/mm3/util/ls: c:\temp\f*: No such file or directory
>8<
>
>Yep.  This is a bug.

Well, that's debatable.  cygwin is supposed to be emulating a UNIX
environment.  '\' is not a directory specifier in UNIX.  The glob code
in cygwin does not recognize it as such so it will not expand wildcards
correctly.

If we make '\' a directory specifier then we break the 'quoting' capabilities
of that character.  So, it's not a change that will be made lightly.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

WARNING: multiple messages have this Message-ID
From: Chris Faylor <cgf@cygnus.com>
To: Earnie Boyd <earnie_boyd@yahoo.com>
Cc: "Waldor Michael K3/EMW4\"" <Michael.Waldor@de.bosch.com>,
	cygwin users <cygwin@cygnus.com>
Subject: Re: B20: Bug? backslashes and stars within args of ls
Date: Wed, 31 Mar 1999 19:45:00 -0000	[thread overview]
Message-ID: <19990304110845.B1226@cygnus.com> (raw)
Message-ID: <19990331194500.jNG8yxUbRiOvcMlitON9nLAn70E7wOkMbPDoTaFnRn8@z> (raw)
In-Reply-To: <19990303155126.14113.rocketmail@send1e.yahoomail.com>

On Wed, Mar 03, 1999 at 07:51:26AM -0800, Earnie Boyd wrote:
>---"Waldor Michael (K3/EMW4)" <Michael.Waldor@de.bosch.com> wrote:
>8<
>> not ok: ls c:\\temp\\f*
>> //i/programme/mm3/util/ls: c:\temp\f*: No such file or directory
>8<
>
>Yep.  This is a bug.

Well, that's debatable.  cygwin is supposed to be emulating a UNIX
environment.  '\' is not a directory specifier in UNIX.  The glob code
in cygwin does not recognize it as such so it will not expand wildcards
correctly.

If we make '\' a directory specifier then we break the 'quoting' capabilities
of that character.  So, it's not a change that will be made lightly.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


  parent reply	other threads:[~1999-03-04  8:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-03  7:52 Earnie Boyd
     [not found] ` < 19990303155126.14113.rocketmail@send1e.yahoomail.com >
1999-03-04  8:08   ` Chris Faylor [this message]
1999-03-31 19:45     ` Chris Faylor
1999-03-31 19:45 ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
1999-03-03  0:34 Waldor Michael (K3/EMW4)
1999-03-31 19:45 ` Waldor Michael (K3/EMW4)

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=19990304110845.B1226@cygnus.com \
    --to=cgf@cygnus.com \
    --cc=Michael.Waldor@de.bosch.com \
    --cc=cygwin@cygnus.com \
    --cc=earnie_boyd@yahoo.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).