www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/06/05:35:07

Message-ID: <B0FEA00E82A7D1118BFB00A0CC990278213236@ARGON>
From: Michel de Ruiter <Michel AT smr DOT nl>
To: "'DJGPP workers'" <djgpp-workers AT delorie DOT com>
Subject: regex question
Date: Tue, 6 Apr 1999 11:36:52 +0200
X-Mailer: Internet Mail Service (5.5.2448.0)
Reply-To: djgpp-workers AT delorie DOT com

Hi all,

I have a question about the filename matching on the command line.

An argument of `*/' matches directories *and* normal files.
An argument of `*/' _in Bash_ does *not* match normal files, only
directories.

I think this difference exists, because the DJGPP command line matching
routines do not want to stat every filename to see if it is a directory or
not, because that would mean the minimum executable size would increase too
much. DOS also returns files for *.*\, IIRC.

Maybe we should document this somewhere, though. Where?

Also, is noticed `abC*' expands to `ABC', whereas `aBc*' expands to `abc'.
Why?

--
*Groeten, Michel* _http://www.cs.vu.nl/~mdruiter_
   ____________ 
   \  /====\  /   "You know, Beavis, you need things that suck,
    \/      \/     to have things that are cool", Butt-Head.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019