This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Newbie half off topic: '*' substituted by 'c'


--- "Schaible, Joerg" <Joerg.Schaible@gft.com> wrote:
> Hi Keyser,
> 
> > And there's no way to make it accept * instead of '*' ?
> > I compiled it in Turbo C++ and it works with *
> 
> This is not a problem of the application or gcc, it is the difference of teh
> shell! _Bash_ will expand * to all file names.
> 

While on the other had CMD.EXE/COMMAND.COM don't expand * to a list of file
names.  And if you ran your Turbo C++ built program using the bash shell it too
would get a list of files.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]