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: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2002-01-08 06:12:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news.binc.net!koehler From: koehler@encompasserve.org (Bob Koehler) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: 8 Jan 2002 08:12:03 -0600 Organization: Encompasserve Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <0wd8uIhJkzae@eisner.encompasserve.org> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1010499125 26981 192.135.80.34 (8 Jan 2002 14:12:05 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Tue, 8 Jan 2002 14:12:05 +0000 (UTC) Xref: archiver1.google.com comp.os.vms:59062 alt.sys.pdp10:9273 comp.sys.dec:11191 In article , robert@bonomi.invalid writes: > > Consider the two statements: > > copy *.x *.y > copy *.c *.x > > does "*.x" mean the _same_thing_ in both situations? i.e., does it > ALWAYS expand to the *same* list of names? "mean the same thing" is not equivalent to "the same list of names". You're choosing a meaning to ake your point valid, but that is not the documented meaning. I'm choosing a meaning close to the documented meaning which makes my point valid. How long are you willing to keep this up? *.x means one thing to the average UNIX shell and another thing to DCL. That should be suprizing? > does the language allow two specifications on a "file delete" opertation? > i.e., can you "delete foo bar"? if so, consider the following two > statements: > > copy *.c *.x > delete *.c *.x > > does "*.x" mean the _same_thing_ in both situations? i.e., does it > ALWAYS expand to the *same* list of names? No, which is why the second statement is illegal syntax. Again "mean the same thing" is not equivalent to "the same list of names". > > If the answers are 'yes', then the semantics of "wildcard expansion" are > consistent. Otherwise, the semantics *are* "context dependant", and you > have *NO*IDEA* what the behavior will be in an _unfamiliar_ context. The meaning is not inconsistent. Its different from what you want to force it to be. And it always acts exactly the same, when interpreted as documented.