Xref: utzoo comp.os.msdos.apps:10 gnu.utils.bug:1149 Path: utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!hybrid!robohack!druid!darcy From: darcy@druid.uucp (D'Arcy J.M. Cain) Newsgroups: comp.os.msdos.apps,gnu.utils.bug Subject: Re: Filename expansion missing from MSDOS gawk, version 2.11 Keywords: gawk, filename Message-ID: <1990Jun29.031154.11941@druid.uucp> Date: 29 Jun 90 03:11:54 GMT References: <1990Jun28.103243.7818@warwick.ac.uk> Reply-To: darcy@druid.UUCP (D'Arcy J.M. Cain) Organization: D'Arcy Cain Consulting, West Hill, Ontario Lines: 26 In article <1990Jun28.103243.7818@warwick.ac.uk> bsrdp@warwick.ac.uk (Hylton Boothroyd) writes: >On a UNIX system a command of the form > gawk -f process.awk data*.* >has the wildcard filename expansion dealt with by the UNIX shell. > >On an MSDOS system, at least with version 3.xx, there is no such shell >expansion. Instead, wildcards are dealt with *within*each*application* >by first match (INT21H/4EH) and next match (INT21H/4FH). > >The 2.02 beta version did that. >The 2.11 version currently on SIMTEL does not: all filenames have to be >explicitly entered. > >Is a suitable upgrade on the way? Actually, all you have to do is include the proper file during the link phase. If you are using Turbo C, this file is WILDARGS.OBJ. I can't recall the name of the MSC file but it does exist. When included it does the filename expansion and presents the arguments to main like Unix shell does. -- D'Arcy J.M. Cain (darcy@druid) | Government: D'Arcy Cain Consulting | Organized crime with an attitude West Hill, Ontario, Canada | (416) 281-6094 |