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: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-03-07 02:47:38 PST Xref: gmd.de comp.org.decus:2668 comp.os.vms:41696 comp.sys.dec:13947 comp.unix.advocacy:881 Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!lyra.csx.cam.ac.uk!pavo.csi.cam.ac.uk!michael From: michael@mail.ast.cam.ac.uk (Michael Lemke) Subject: Re: Is VMS Dying? Message-ID: <1994Mar7.104738.29959@infodev.cam.ac.uk> Sender: news@infodev.cam.ac.uk (USENET news) Nntp-Posting-Host: cast0.ast.cam.ac.uk Organization: Institute of Astronomy, Cambridge, UK References: <2l7irj$h9h@gap.cco.caltech.edu> <1994Mar5.155121.18755@avatar.montagar.com> Date: Mon, 7 Mar 1994 10:47:38 GMT In article <1994Mar5.155121.18755@avatar.montagar.com>, David L. Cathey wrote: >In article , wayne@backbone.uucp (Wayne Schlitt) writes: >> I think it is interesting where different parts of the command line >> are parsed... >> >> Wildcards Options >> --------- --------- >> Unix shell program >> VMS program shell > > Quite true... Having the shell parse the options has the advantages >that the image is not loaded if given bogus arguments and the image does >not have to perform much argument verification, since this has already >been done. > > Another nice advantage is that you can change the CLD (command line >definition) for a command to give it new "defaults" without changing the >program. > Another very nice advantage is that the options get all parsed eventually by the *same* routine (CLI$*). The other version has always produced almost but not entirely similar copies of the same code. > Not that either way is "right" or "wrong", but each has their own >advantages. > Depends what your preferences are. Michael -- Michael Lemke Institute of Astronomy, Cambridge UK (michael@io.as.utexas.edu or UTSPAN::UTADNX::IO::MICHAEL [SPAN])