From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-ArrivalTime: 1994-03-05 16:32:06 PST Xref: gmd.de comp.org.decus:2551 comp.os.vms:41353 comp.sys.dec:13774 comp.unix.advocacy:766 Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!nova.umd.edu!nova!rockwell From: rockwell@nova.umd.edu (Raul Deluth Miller) Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Followup-To: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Date: 5 Mar 1994 07:01:14 -0500 Organization: University of Maryland University College Distribution: world Message-ID: References: <1994Feb26.204059.4068@mixcom.mixcom.com> <1994Feb28.140951.24948@mcnc.org> <1994Mar4.160351.18742@avatar.montagar.com> NNTP-Posting-Host: nova.umd.edu In-reply-to: davidc@avatar.montagar.com's message of 4 Mar 94 16:03:50 CDT David L. Cathey: DCL also has different ways of dealing with command line and the also doesn't try to process wildcards at that level, since it independent of the applications as to what the arguments actually are. Are they file names that are wildcarded? Or are they something else. Unix uses a [slightly] different syntax for the case where wild cards are command specific and not file names in the specific directory. Your argument of "source code is available" is also programmer-centric, since your average computer user doesn't want to program, but get their work done. This is one reason why the desktop of choice is MS-DOS, an "O/S" that vastly outnumbers Unix as well as VMS. Nope. The reason is that Microsoft has a contract with most of the OEMs where they ship a copy of DOS with every machine. DOS comes pre-installed. That's all there is to it. > (2) Wildcards. It's true that you could get a Unix shell to do > it the way DCL does, but this would be a mistake. In this I would agree, since almost every file-oriented command on Unix would break or become much less useful because of their inability to understand wildcards. The unix was of dealing with this [a shell without file-in-this-directory wildcard processing] would be to build a utility that does the processing. If the shell also couldn't deal with using the output of a command as the argument for some other command then a utility could be written for that. So, basically, under unix, if you removed functionality from one routine [the shell] it would need to go in another routine. Doesn't sound like a very big issue to me. Again, counter-arguments to Unix wild-carding have also been made, since if forces the design of the utility to work with what the shell is able to give it in terms of files. ? No force involved, the shell can pass arbitrary strings. Most people live without control characters in their arguments, however. Another oddity is that the shell only interprets wildcarded filenames for a single directory. However, if a recursive directory lookup is needed, the utility has to be able to perform that itself (provide its own wildcarding) since it is incompletly done by the shell. Another oddity is that the shell doesn't provide menuing, so if menuing is desired either (a) it has to go in the program or (b) a general utility has to be provided. Then again, it only takes a few lines of code to, for example, turn vi into a menu system. It has been noted that because of the simple operation of most of the Unix commands (the concept of "every program is a simple filter") requires simple processes and pipes. On VMS, there is often very little need get a list of file names and "put it on the command line or feed it as input to another command". On Unix, this is the general basis of operation. Not a criticism, the systems are just different. Oh, I've needed to do this under VMS. I haven't been able to however. [More generally, I've been able to figure out how to use sets of VMS commands such that if I could just figure out how to get the output of one of those commands into some form that the other command could handle, I'd have been able to go back to getting my work done. I never did find out. Hell, most of the time, I'd have been happy to get the output of a VMS command [e.g. HELP followed by a few subcommands] into a file.] Yet, MS-DOS has more users that Unix - despite it's crippling restrictions. Not that I'm gung-ho MS-DOS, but it is the system of the masses. It's the default of the masses. People do tend to use defaults. The "advantages of having wildcard expansion in the shell" is sort of a cicular argument, since truly on Unix, nothing else would work - so of course it makes sense. It's more recursive/iterative than circular. It's: [look isn't this neat] followed by [oh, and this takes care of that] followed by [yeah and it takes care of this, too] and so on... Raul D. Miller