Path: utzoo!utgpu!watserv1!maytag!xenitec!tirith!ggk From: ggk@tirith.UUCP (Gregory Kritsch) Message-ID: Date: 21 Nov 20 02:34:56 Newsgroups: comp.sys.amiga.tech Subject: Re: Wildcard types In-Reply-To: jesup@cbmvax.commodore.com (Randell Jesup) References: <15940@cbmvax.commodore.com> jesup@cbmvax.commodore.com (Randell Jesup) writes: > Or, you could put the template in the program, and one of the first >things the program does is call the Dos routine that parses arguments, and >call the Dos routine that expands wildcards. Suprise, guess what, these >calls are in the OS and the new C commands use them. Glad to hear "they're in there" finally at least. I hope that they'll do Unix style flag parsing if asked (although I doubt it somehow). > Having the expansion done in the program does make the system somewhat >more flexible, and reduces the amount of quoting that users have to deal >with. It's a tradeoff, of course, and there are thigns to be said for >both sides, but I think that when non-expert user interface issues are taken >into account the current system is best. I really think that having the application program not handle any quoting or expansion would be a real plus. That way, I can have the shell do expansion via my wildcards (Hey, I like the "mumble" wildcard better than '*' or '#?', ie: mumble.info representing all the files ending in .info), and I can depend on being able to pass all 256 ascii characters in command arguments, without worrying about the program not doing quoting. > BTW, the hunk idea is right out, due to loadfile compatibility issues. Hmm, if it's a 2.0 program, it requires 2.0 to run. Judging from the number of new toys in 2.0 I keep hearing about, I'd suggest that a rather large number of programs will require it. In any case, if a program requires the arg parsing you mention above, a similar compatibility issue comes up - it's not backwards compatible to 1.3. Neither is its load file. >Randell Jesup, Keeper of AmigaDos, Commodore Engineering. >{uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com BIX: rjesup >Thus spake the Master Ninjei: "If your application does not run correctly, >do not blame the operating system." (From "The Zen of Programming") ;-) -- Gregory Kritsch | University of Waterloo Fido: 1:221/208.11110 [1:163/109.30] | 1A Computer Engineering OCUG: ggk@tirith.ocug.on.ca |---------------------------- UUCP: ggk@tirith.UUCP | The University doesn't get ...!watmath!xenitec!tirith!ggk | a chance to censor me!