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: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-03-09 12:00:55 PST Xref: gmd.de comp.org.decus:2828 comp.os.vms:41964 comp.sys.dec:14085 comp.unix.advocacy:973 Path: gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!ctc.com!news.mic.ucla.edu!library.ucla.edu!ihnp4.ucsd.edu!swrinde!cs.utexas.edu!convex!seas.smu.edu!mic!tachyon!montagar!davidc Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Message-ID: <1994Mar9.150055.18780@avatar.montagar.com> From: davidc@avatar.montagar.com (David L. Cathey) Date: 9 Mar 94 15:00:55 CDT Followup-To: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy References: <1994Feb26.204059.4068@mixcom.mixcom.com>< Distribution: world Organization: Montagar Software Concepts, Plano TX In article , rockwell@nova.umd.edu (Raul Deluth Miller) writes: > The only reason this is "confusing" is that you have so many options > to pick from. This is balanced by the fact that these options let you > do a wide variety of things [in this case, you are allowed to look for > a wide variety of patterns]. Most of the time, people just want to > look for alphanumeric keys -- and the options may be ignored. So, when Unix person complains about " syntax in DCL, or that there are lots of qualifiers for some command, can I use this explaination? > . Notice that because of the interaction of the shell, the search key > . must be quoted to be within one argument. Also, what if you want > . to arrange the aruments differently? Given your average shell, you > . are constrained in your design of your command line. > > What are you asking here? How does "arranging the arguments > differently" accomplish any purpose? What I'm asking is what if you are writing an application, what if you want to arrange the arguments differents rather than have all the file names at the very end of the command line? As to what purpose, that's the programmers decision, and shouldn't be forced because of the nature of what the shell is going to do. For example: $ SEARCH *.* STRING I decide I like a "grep" like organization, so I change the command definition (but no code) to get: $ GREP STRING *.* Because of the modular separation of DCL, CLD, and the program, you can arrange your arguments and qualifiers however you decide. Even change your mind without impacting the code. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - David L. Cathey |INET: davidc@montagar.lonestar.org Montagar Software Concepts |UUCP: ...!montagar!davidc P. O. Box 260772, Plano TX 75026-0772 |Fone: (214)-618-2117 NOTE: Due to circumstances beyond my control, please use the new Internet address until further notice.