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 22:57:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!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> <3C3B5DBD.217B4B65@aaa.com> Sender: robert@bonomi.invalid From: robert@bonomi.invalid Originator: robert@bonomi.invalid Organization: Not Much X-Newsreader: trn 4.0-test69 (20 September 1998) Originator: bonomi@c-ns. (Robert Bonomi) Message-ID: Date: Wed, 09 Jan 2002 06:57:41 GMT NNTP-Posting-Host: 207.241.52.60 X-Complaints-To: abuse@verio.net X-Trace: ord-read.news.verio.net 1010559461 207.241.52.60 (Wed, 09 Jan 2002 06:57:41 GMT) NNTP-Posting-Date: Wed, 09 Jan 2002 06:57:41 GMT Xref: archiver1.google.com comp.os.vms:59296 alt.sys.pdp10:9326 comp.sys.dec:11249 In article , wrote: >robert@bonomi.invalid wrote: >> And, that there is *NO*WAY* -- from inspection of the command-line only -- to >> determine which interpretation applies, to which instance. Specific knowledge >> of the particular context is required. >> >> The semantics of the wildcard construct depend utterly on the context in which >> it is employed. > >Unix isn't really any better. There is no way -- from inspection of the >command-line only -- to determine whether or not something is even a >filename. If there were, rm wouldn't get confused when you try to hand >it filenames beginning with '-'. >From inspection of the command-line only, one *can* determine _how_ the wildcard expansion, presuming it is enabled, that is, will be done. '*.foo' _always_ expands to an -ordered-list- of pre-existant filenames matching the pattern. Regardless of positon on the line, regardless of the command or context. Admittdly, _many_ Unix commands can get 'confused' when passed filenames that 'look like' other optional parameters that would preceede actual filenames on the command-line. probably the worst "abuse" of that characteristic is a directory containing logfiles -- named "log_yymmdd.hh". somebody added two zero-length files, 'data.archive', and '-uf'. They then archived with "tar *". Unix does have its fair share of quirks and inconsistencies. I would never dispute that. One only has to look at 'cat', 'tar', 'ar', and 'dd', to be convinced of that fact. All of which is *irrelevant* to the point under discussion, which was the claim that DCL had *no* 'inconcistencies'.