Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!mcnc!wolves!deepthot!Jay From: Jay@deepthot.cary.nc.us (Jay Denebeim) Newsgroups: comp.sys.amiga.programmer Subject: Re: How do you use shell wild cards in a program? Message-ID: Date: 26 Mar 91 04:00:47 GMT References: <1991Mar22.170715.14128@ucselx.sdsu.edu> Organization: The Software Distillery Lines: 30 In article <1991Mar22.170715.14128@ucselx.sdsu.edu> maxc0949@ucselx.sdsu.edu (Victor Martinez) writes: > How do you does a program use wild cards from the shell? Does the >shell pass a modified argv to a program or is it up to the program to >expand the wild cards? I hope the shell expands the wild cards for the >program. I am using Wshell on a A3000. The shell does NOT expand wildcards. WShell does not anyway, SKsh does, its a (sorta) implementation of csh on U*IX. This is not the 'amiga way' however. Each program is supposed to do its own wildcard expansion, at least under 1.x of the operating system. Under 2.0 (which is what you're probably running on the 3000) there are new calls in the dos library for command parsing and wildcard expansion. They are quite nice. Unfortunately, I don't think you'll be able to get any docs on them yet. > Thanks > Victor Martinez -- |_o_o|\\ |. o.| || The Jay Denebeim | . | || Software | o | || Distillery | |// Address: UUCP: mcnc.org!deepthot.uucp!jay ====== Internet: jay@deepthot.cary.nc.us BBS:(919)-460-7430 VOICE:(919)-460-6934