home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:4659 comp.unix.shell:4678 comp.unix.misc:4145
- 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.92Nov13093417@grymoire.crd.ge.com>
- Date: 13 Nov 92 14:34:17 GMT
- References: <aldavi01.721333614@starbase.spd.louisville.edu>
- <1992Nov11.194557.16258@yarc.uucp>
- <EEIDE.92Nov12120339@asylum.cs.utah.edu>
- <1992Nov12.193707.27532@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: 48
- In-Reply-To: michael@chpc.utexas.edu's message of Thu, 12 Nov 92 19:37:07 GMT
- Nntp-Posting-Host: grymoire.crd.ge.com
-
- In article <1992Nov12.193707.27532@chpc.utexas.edu> michael@chpc.utexas.edu (Michael Lemke) writes:
- > Well, fixing typos is neat but it is not the essential problem. My
- > main complaint about Unix on the user interface level is that there is
- > no command line interpreter. What I mean is that after the shell munged
- > your command line it is *completely* up to the program to interpret the
- > command line and there is no system function available to parse even
- > these `standard' options.
-
- Some look at this as an advantage. You are probably complaining about
- the inability to perform
- rename *.old *.new
-
- The point of the shell is to prevent every program from having to
- parse
- ~bill/$DIR/`prog`/*[0-9]?.{xxx,yyy}
-
- It becomes TRIVIAL to write a new shell utility. In fact many are just
- more shell utilities.
-
- If you don't like ls, write your own version. It only takes a few seconds.
- If you don't like the fact the shell expands all of the metacharacters
- automatically, just turn it off. In csh, do a
-
- set noglob
-
- then you can write a program called "rename", and let it parse the
- arguments itself. People found out that the purpose of the shell is to
- expand meta-characters, just so that the shell commands don't have to
- bother. The programs also don't have to worry about I/O redirection. I
- remember writing programs, and having to change the source of the
- program when I wanted a printout vs. output to the terminal. What a
- waste of time!
-
-
- It sounds like most of your problem is due to the large number of UNIX
- utilities. How many does DOS have? If you don't like all of the
- old/strange utilities, delete them or don't use them. It's not many
- operating systems that give you (Hmm. time to write a new shell
- command.... tic, tic, Done) ...
-
- find /usr/ucb /usr/bin -type f -print | wc -l
-
- 319 different commands to the shell.
- That's a small number. I actually have 2033 shell commands now.
-
- Hey, if I only have 30 commands, it would be trivial to make them similar.
- --
- Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
-