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-08 12:38:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!sjc-peer.news.verio.net!news.verio.net!ord-read.news.verio.net.POSTED!not-for-mail Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <0wd8uIhJkzae@eisner.encompasserve.org> Sender: reobert@bonomi.invalid From: reobert@bonomi.invalid Originator: reobert@bonomi.invalid Organization: Not Much X-Newsreader: trn 4.0-test69 (20 September 1998) Originator: bonomi@c-ns. (Robert Bonomi) Message-ID: Date: Tue, 08 Jan 2002 20:38:51 GMT NNTP-Posting-Host: 207.241.52.60 X-Complaints-To: abuse@verio.net X-Trace: ord-read.news.verio.net 1010522331 207.241.52.60 (Tue, 08 Jan 2002 20:38:51 GMT) NNTP-Posting-Date: Tue, 08 Jan 2002 20:38:51 GMT Xref: archiver1.google.com comp.os.vms:59177 alt.sys.pdp10:9295 comp.sys.dec:11219 In article , Bob Koehler wrote: >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? Oh, until you see the difference between "expands to a list of names that _currently_exist_in_the_filesystem_namespace_" and 'derived from some other list, resulting in names that _may_or_may_not_currently_exist_". > > *.x means one thing to the average UNIX shell and another thing to > DCL. That should be suprizing? Not at all. But it means _different_ things, depending on "what position" it appears in. Sometimes it's "legal", sometimes it's "illegal". This is most difficult to reconcile with a claim that it has a single "consistent" meaning. >> 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". > OK, then *HOW* do I "delete all '.c' files, _and_ delete all files of the same base name but with an '.x' extension." since it *is* 'illegal syntax'? What does: "foo *.c *.x" mean, when 'foo' is an arbitrary (even _user- written_) command? Is the user code free to interpret the 'unmodified' tokens as it sees fit, or are the wildcards "pre-interpreted" by the command-line interpreter in a single manner? Apparently it is *not* the command-line interpreter, since "*.c *.x" is legal in some cases, and illegal in others. How can it be "consistent", when it's valid in some instances, and 'illegal syntax' in others?