Date: Fri, 13 Dec 2002 22:43:57 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Arthur J. O'Dwyer" Message-Id: <8361-Fri13Dec2002224356+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: (ajo@andrew.cmu.edu) Subject: Re: Bug in command-line globbing References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Arthur J. O'Dwyer" > Newsgroups: comp.os.msdos.djgpp > Date: Fri, 13 Dec 2002 12:48:59 -0500 (EST) > > this "workaround" is possibly *more* useless than the default behavior. > > * Arguments are split at whitespace and stripped of quotes before > being passed to the function. Can you write "echo" in DJGPP? > > * Quote-globbing still occurs. \ escapes quotes and nothing else. > So my problem can't be fixed this way anyway. > > * Arguments do not get passed to __crt0_glob_function if they contain > a quoted wildcard character. This renders the function useless for > performing any sort of non-default wildcard globbing. How about reading the docs before throwing more accusations in ``useless'' functionality at us? I think the _CRT0_FLAG_KEEP_QUOTES bit, documented in libc.info under `_crt0_startup_flags', does what you want (although personally, I think you are wasting effort trying to circumvent DJGPP command-line handling which already works well enough, including in cases you need to work with).