From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-ArrivalTime: 1994-03-04 09:30:56 PST Xref: gmd.de comp.org.decus:2918 comp.os.vms:42181 comp.sys.dec:14215 comp.unix.advocacy:1062 Path: gmd.de!Germany.EU.net!EU.net!sun4nl!fwi.uva.nl!casper From: casper@fwi.uva.nl (Casper H.S. Dik) Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Date: 4 Mar 1994 17:30:56 GMT Organization: FWI, University of Amsterdam Distribution: world Message-ID: <2l7r8g$9pr@mail.fwi.uva.nl> References: <2l5v1j$71b@c3po.jvnc.net> <2l7ifnINNd1n@jhunix.hcf.jhu.edu>, <2l7pbn$kk9@gap.cco.caltech.edu> NNTP-Posting-Host: adam.fwi.uva.nl carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes: >The point is that the shell technique for expanding wildcards requires that all >instances of the expansion be placed in the argument list. I've yet to see a >shell that didn't have a hard-coded limit to the size of the argument list >(yeah, I know, you don't have to have one; you COULD make a guess as to how >many arguments you're going to generate, malloc space for pointers to them, if >you exceed the estimate, malloc more space, copy the already generated >pointers, and iterate). There is another limit: a system imposed limit. In current unixes the limit is about 1 megabyte, on older versions it was about 32K. That's a hard limit on the number of bytes you can pass to exec(). Casper