Re: [Dev-C++] Automatic wildcard expansion
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Luigi S. <gi...@li...> - 2002-07-14 13:24:45
|
At 14.39 07/12/02 +0530, "Abhijit Shylanath" <mu...@gm...> wrote: >If I run > makedict e d:\code\makedict\dict.txt *.txt >my program receives it as > >-Start-------------------------- >arg 0: makedict >arg 1: e >arg 2: d:\code\makedict\dict.txt >arg 3: dict.txt >-Stop--------------------------- > >I recall that this behaviour is a GCC feature, and I can bypass it by >quoting the argument, but how can I explicitly tell the compiler to disable >such expansion? It is a feature of MinGW (because command.com does not deal with wildcards) which, I guess, can't be disabled for consistency with the Unix (where the shell expands wildcards and you prevent that by escaping special characters). -- Luigi |