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:15:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!iquest!news1.iquest.net!not-for-mail From: "JD" 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 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Wed, 9 Jan 2002 17:20:50 -0500 NNTP-Posting-Host: 198.70.149.90 X-Complaints-To: news-abuse@iquest.net X-Trace: news1.iquest.net 1010614418 198.70.149.90 (Wed, 09 Jan 2002 17:13:38 EST) NNTP-Posting-Date: Wed, 09 Jan 2002 17:13:38 EST Xref: archiver1.google.com comp.os.vms:59481 alt.sys.pdp10:9388 comp.sys.dec:11309 "Bill Todd" wrote in message news:xd3%7.62827$wa.4646680@bin6.nnrp.aus1.giganews.com... > > "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. > It got blown out of proportion due to the statement that the semantics are different between differing positions on DCL. > > 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). > Well, the first one IS a wildcard specification. The second one is a transformation. :-). It is probably best to agree to disagree :-). John