From: earnie_boyd AT yahoo DOT com (Earnie Boyd) Subject: RE: argc/argv 15 Jan 1999 19:17:52 -0800 Message-ID: <19990115174433.4633.rocketmail.cygnus.gnu-win32@send106.yahoomail.com> Reply-To: earnie_boyd AT yahoo DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: "Haynes, Dan" , shijn AT tcc DOT com DOT cn, gnu-win32 AT cygnus DOT com ---"Haynes, Dan" wrote: 8< > The one gotcha with that scheme - if no files match the wildcard, Borland > just passes in the arguments untouched. So if you invoke your program as > "test *.c" and there are no .c files in the directory, argv[1] will be set > to "*.c" :-( 8< That's also true with bash both on UNIX and WIN32 and is standard globbing practice. :-) == - \\||// -------------------o0O0--Earnie--0O0o------------------- -- earnie_boyd AT yahoo DOT com -- -- http://www.freeyellow.com/members5/gw32/index.html -- ----------------------ooo0O--O0ooo---------------------- PS: Newbie's, you should visit my page. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".