From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2002-01-06 14:49:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-proxy.baileynm.com!citadel.in.taronga.com!not-for-mail From: peter@taronga.com (Peter da Silva) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: 6 Jan 2002 22:40:50 GMT Organization: TSS Inc. Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> NNTP-Posting-Host: citadel.in.taronga.com X-Trace: citadel.in.taronga.com 1010356850 63943 10.0.0.43 (6 Jan 2002 22:40:50 GMT) X-Complaints-To: usenet@taronga.com NNTP-Posting-Date: 6 Jan 2002 22:40:50 GMT X-Newsreader: trn 4.0-test72 (19 April 1999) Xref: archiver1.google.com comp.os.vms:58649 alt.sys.pdp10:9171 comp.sys.dec:11075 In article , wrote: >Whereupon, one is either into 'context-sensitive' wild-card expansion (where >"*.foo *.bar" means one thing to 'wc', and something else to 'copy'), or >silliness like "(.foo|.bar)" for 'anything that matches either suffix'. A lot of Amiga programs didn't accept "#?.foo #?.bar" for that reason, you actually had to use "#?.foo|#?.bar" (I think that was the syntax). Another reason for handling wildcards the UNIX way is security. If a a program you're passing a string to is not going to interpret the string as shell level metadata, you don't need to try and duplicate the metadata semantics of the shell/DCL/whatever to keep someone from slipping an exploit through. Of course this doesn't always work, especially when you're using a scripting language like Perl that doesn't let you build an argv explicitly. One reason I prefer using Tcl for CGI even if it's a bit of a hog. -- Rev. Peter da Silva, ULC. WWFD? "Be conservative in what you generate, and liberal in what you accept" -- Matthew 10:16 (l.trans)