home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:4716 comp.unix.shell:4729 comp.unix.misc:4188
- Path: sparky!uunet!crdgw1!rdsunx.crd.ge.com!rdsunx!barnett
- From: barnett@grymoire.crd.ge.com (Bruce Barnett)
- Newsgroups: comp.unix.wizards,comp.unix.shell,comp.unix.misc
- Subject: Re: The Problem with UNIX
- Message-ID: <BARNETT.92Nov16100853@grymoire.crd.ge.com>
- Date: 16 Nov 92 15:08:53 GMT
- References: <EEIDE.92Nov12120339@asylum.cs.utah.edu>
- <1992Nov12.193707.27532@chpc.utexas.edu>
- <BARNETT.92Nov13093417@grymoire.crd.ge.com>
- <1992Nov13.224718.15935@chpc.utexas.edu>
- Sender: usenet@crd.ge.com (Required for NNTP)
- Reply-To: barnett@crdgw1.ge.com
- Organization: GE Corp. R & D, Schenectady, NY
- Lines: 72
- In-Reply-To: michael@chpc.utexas.edu's message of Fri, 13 Nov 92 22:47:18 GMT
- Nntp-Posting-Host: grymoire.crd.ge.com
-
- In article <1992Nov13.224718.15935@chpc.utexas.edu> michael@chpc.utexas.edu (Michael Lemke) writes:
- > No, I don't. I am complaining that the options are a) parsed
- > inconsistently (`bla -lx a' might be valid and `bla -l x a' not but
- > `foo -l x a ' is ok and `foo -lx a' is not) and b) that -l means long
- > for ls -l but library for f77 -l. I want ls -long and f77 -library and
- > be able to abbreviate both -long and -library because `long' and
- > `library' is what I mean and not -l.
-
- > >It sounds like most of your problem is due to the large number of UNIX
- > >utilities. How many does DOS have?
-
- > No idea. I don't know DOS.
-
- Well, what are you comparing Unix to? As I stated, I currently have
- 2033 commands available. When you consider the large number of
- commands, along with the ease of creating new ones, it is no wonder
- they are inconsistent. As Boyd says, VMS also has inconsistencies
- (I personally don't know enought to comment). ANY system that has the
- large number of commands is bought to have inconsistancies, unless the
- creation of these programs are under tight control, and we can throw
- out backwards compatability. Even so, people will want to deviate from
- the strict guidelines because it makes the interface friendlier.
-
- Consider your "-l" example. Unix is considerate of the person typing
- all day. I don't want to type dozens of extra characters for commands
- I execute all of the time.
-
- How can you allow variable length options and still allow terseness
- when typing?
-
- I don't want to type
- list -long -time -reverse -all
- or
- list -lo -ti -r -a
- or
- list -lo/ti/r/a
- or even
- list -l/t/r/a
- when I can type
- ls -ltra
-
-
- Same thing with the -l option to cc/ld.
-
- -lm
- is equivalent to the more logical
-
- -library=/usr/lib/libm.a
- or even
- -library=libm.a
- or -l=libm.a
-
- Unix is inconsistant and power user friendly.
-
- You must also consider the possibility of adding new options (which is
- very easy to do.) Consider a command that allowed
- -long
- -lon
- -lo
- and
- -l
-
- as valid. Suppose you add a "-low" option? Old scripts who uses "-l"
- or "-lo" could break. This is a fatal flaw. You could add new options
- that never conflict with previous options, but then this also has
- problems because you are forces to select options whoes words that
- might not make sense.
-
- IMHO adding consistency to Unix would place an extra burden for the person
- typing on the keyboard all day long.
- --
- Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
-