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-09 14:10:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin6.nnrp.aus1.giganews.com.POSTED!not-for-mail From: "Bill Todd" Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C3B5DBD.217B4B65@aaa.com> Subject: Re: historical evidence of what went wrong at DEC Organization: maybe X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: NNTP-Posting-Date: Wed, 09 Jan 2002 16:10:37 CST X-Trace: sv3-3qvVRj4MDEC11tKnoI3RSwv/wgOoTC525ldJOWXudrg7HVtzIe/WxG/iSQ4pTNSJLtElxscuztub7Pz!2itldbXJHztjBYkvWgh+QG1u/C2VoFNlVl4xqzJec3VJ/G6LEwqW2P+wG+TOrDO0QB0IqeuKmofF!STRf0oMethX1usbCyENZ X-Complaints-To: abuse@GigaNews.Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Wed, 09 Jan 2002 22:10:37 GMT Xref: archiver1.google.com comp.os.vms:59478 alt.sys.pdp10:9387 comp.sys.dec:11308 "JD" wrote in message news:is__7.56$vb1.10800@news1.iquest.net... > > "David Jones" wrote in message > news:a1ho3q$7du$1@charm.magnus.acs.ohio-state.edu... > > In message , "JD" writes: > > >DCL BY DEFAULT has inconsistant parsing of wildcards in differing contexts > > ^^^^^^^^^^^^^^^^^^ > > >as NORMAL behavior. > > > > There's nothing wrong with parsing wildcards differently in different contexts, > > it's only a problem if you parse them different in the same context. > > > That is a matter of YOUR definition (and probably those who like the inconsistant > parsing of wildcards depending on context.) If you want to use a wild card as > a 'list of files' or 'expression specifying a target name transformation', then that > defacto demonstrates that the semantics are inconsistant. > > Frankly, I used to like the DCL scheme also, and wrote a DCL before RSX11M had > one normally available (from scratch, as a CLI.) After that, I learned the shell > approach, and was still biased towards the 'DCL' approach. Even with the > skeptcism and preference for the 'DCL' inconsistancy, I found the shell approach > to be 'cleaner'. Eventually, as I learned (at a technology, not an engineering level) > the relative advantages, the shell won out. > > It has been many years since that happened, and the full context of my thinking > back in the early '80's is hard to re-construct, but the shell approach has pretty > much taken over, and is VERY consistant. There are indeed abnormal cases > where both schemes can be tripped up, but IMO, consistant semantics win. > > If DCL 'rename' was well designed and consistant, it would be something like > this: rename /newext:x *.c. Perhaps the transformation wouldn't be specified > in the same way as a filespec. There is a BIG difference between a transformation > and 'names'. This discussion seems much akin to debating how many angels can dance on the head of a pin, but perhaps I'm missing something. Alternatively, perhaps the problem is that the same syntax is being used for different purposes without adequate explanation - i.e., that in the command rename *.c *.x the second argument LOOKS like a 'wildcard specification' but in fact is not one (any more than '-' in a Unix command always announces a switch). If one adopts this attitude, there's no inconsistency in DCL's treatment, just a possibly-confusing use of identical constructs with positionally-dependent meaning (but *any* operation which accepts, say, both an input spec and an output spec often uses the same constructs for both but with different meanings). But since those who actually use this syntax don't seem to be confused by it, if there's no issue of semantic purity involved then is there any real problem? - bill