Date: Thu, 29 Jan 98 21:56:26 PST From: Noam Rotem Subject: Re: *argv[] help! To: djgpp AT delorie DOT com Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk --- On 29 Jan 1998 06:58:46 GMT George Foot wrote: >DJGPP performs command-line globbing automatically, like Unix shells >do. This means that if you give a wildcard on the command line it >will be expanded into the list of files matching the wildcard -- so in >your case argv[1] would be the first, argv[2] the second, etc. Can I use the automatic globbing for more than one argument with wildcards? Let's say my command line is: foo *.c *.bck I guess I'll get the matching files of both arguments in argv[i], but how would I know then where goes the line between *.c's globbed arguments and *.bck's? -------------------------------------------- Noam Rotem John Bryce Training Centre Tel Aviv, Israel. 03-7535803 ============================================= 1. Take upon yourself an impossible mission. 2. Accomplish the mission. 3. Go back to step 1. It's the only sane answer to modern life. --- 29/01/98 21:56:26