delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/06/23:58:53

Date: Thu, 6 May 1993 23:00 EST
From: "Wonkoo Kim, EE, U. of Pittsburgh" <WKIM AT vms DOT cis DOT pitt DOT edu>
Subject: How to pass wildcard filenames to program?
To: djgpp AT sun DOT soe DOT clarkson DOT EDU

I am converting Borland C program to djgpp/gcc, and my program accepts 
wildcards in filenames.  After convering to djgpp/gcc, the program couldn't 
receive any wildcard characters from dos command line arguments.

Any (cmd line) argument string with wildcards is automatically replaced with 
an existing filename if it matches, so program couldn't see any wildcard 
characters.  This way might give some convenience in some situations, but not 
for my program.  My program need to read all files of matching names 
altogether.

So my question is:  Is it possible to disable the automatic wildcard-filename 
replacing feature when compiling, without touching my source code?

Thanks for any help.

Wonkoo Kim
EE, U. of Pittsburgh
wkim AT vms DOT cis DOT pitt DOT edu

- Raw text -


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