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-06 20:59:20 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> <3C38940F.D08697F@trailing-edge.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: Mon, 07 Jan 2002 04:59:13 GMT NNTP-Posting-Host: 207.241.52.60 X-Complaints-To: abuse@verio.net X-Trace: ord-read.news.verio.net 1010379553 207.241.52.60 (Mon, 07 Jan 2002 04:59:13 GMT) NNTP-Posting-Date: Mon, 07 Jan 2002 04:59:13 GMT Xref: archiver1.google.com comp.os.vms:58675 alt.sys.pdp10:9177 comp.sys.dec:11083 In article <3C38940F.D08697F@trailing-edge.com>, Tim Shoppa wrote: >robert@bonomi.invalid wrote: >> In the UNIX world, by default, the 'command' never sees wildcards. All >> wildcard 'expansion' is done by the command-line-interpreter, in a single >> consistent manner. One instance of the code, One pattern of behavior. >> Universally _consistent_ behavior. smaller, simpler, code for the commands, >> as they _do_not_ have to be aware of *anything* regarding wildcards. > >Yeah, that works real good. Several times a week I get calls from >users who wanted to type > > tar cvf whatever.tar *.c > >to put their source files into a tar set. But instead they typed > > tar cvf *.c > >and find their first source file is now gone. > >A few (but not all) modern C compiler drivers do look at the >command line to prevent you from typing > > cc -o source.c -lm > >when you really meant > > cc -o executable source.c -lm > >So the Unix user is stuck in this strange no-man's-land where >some programs do look at the command line to prevent stupid users >from clobbering input files just because the argument was in the >wrong place, and other programs go ahead and do clobber the file. > >Of course, we're all computing professionals and none of us have >ever made a mistake typing a command line :-). UNIX was developed from the premise of "the user *knows* what he's doing". and geerally makes no attempt to second-guess what the user 'intended'. A side-effect of this is that it will "cheerfully give you enough rope to hang yourself". I've used systems that second-guessed my intentions. And would *not* let me do things that the designer deemed was 'not reasonable'. Almost invar- iably, those kind of systems prevent me from doing something that I *delibertely* want to do, in a particular 'special set of conditions' case. It _is_ 'probably an error', in the 'general case'. however, in =this= instance it *is* what I want to do. And _can't_. I'ts just impossible. the system *won't* let me do it. I *WANT* a system that _will_ "do what I tell it to, reasonable or not". If I screw up -- and I *do* -- I _know_ where the fault lies. Incidentally, "unblunted sword" does tend to ecourage one to be much more religous about things like _backups_. This is not altogether a bad thing. For 'skilled users' -- the original target audience for UNIX -- the pro- ductivity increase due to an O/S that a) stays out of your way, and b) just _does_ what you tell it; it does _more_than_ offset the lost time from those occasions where it does 'rear up and bite you'. The 'newcomers' that are building 'reasonableness checks' into the compilers, mentioned above, are _not_ doing their users any real favor. There is established literature, in the field of user-interface design, on this point. Some of the early discussion/research can be found under the topic of "why 'alias rm rm -i' is a Bad Idea(tm)".