From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2001-12-29 08:05:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news2.rdc1.mi.home.com.POSTED!not-for-mail From: "Stuart R. Fuller" Subject: Re: historical evidence of what went wrong at DEC Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C2D48CE.FA4FF25A@fsi.net> Reply-To: stufuller@usa.net Distribution: world User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (Linux/2.0.36 (i686)) Message-ID: <2lok0a.sh9.ln@dadsys1.fuller.local> Date: Sat, 29 Dec 2001 16:05:00 GMT NNTP-Posting-Host: 24.178.171.183 X-Complaints-To: abuse@home.net X-Trace: news2.rdc1.mi.home.com 1009641900 24.178.171.183 (Sat, 29 Dec 2001 08:05:00 PST) NNTP-Posting-Date: Sat, 29 Dec 2001 08:05:00 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.os.vms:57305 alt.sys.pdp10:8847 comp.sys.dec:10442 In comp.sys.dec David J. Dachtera wrote: : Michael Zarlenga wrote: :> :> In comp.os.vms Bill Pechter wrote: :> : As far as the Unix vs. VMS issue... :> : Considering I make my living on Unix boxes now... it took years of work :> : to get me as productive as I was in days with VAX/VMS. :> : That's pretty high praise for OpenVMS. :> :> This 15+yr VMS user who also has 2+yrs of Unix finds Unix much :> easier to use for most of the tasks I do. I really hate to say :> that, but its scripting languages are light years beyond DCL. : In what way? : How do I get a shell to check/verify command line options and values (if : any) before it invokes the program? Why is that an issue? If, in DCL, you type an invalid command line option or value, you get an error message saying you can't do that. In Unix, many programs will not only give you an error message, but will also provide a short help screen. : How do I enable command/option abbreviation? In a script (remember, scripting languages are the subject here), command line abbreviations are NOT recommended. : How do I get filespec expansion to recurse directories? That's not a scripting language issue - that's RMS. Besides, how do you get DCL to give you a list of all the files that have been accessed (not simply created) in the past 2 days, with a link to one or more other filenames, that have a specific set of protections, and when done, display that list of filenames in variety of formats to suit the occasion. : How do I get the shell to perform simple numeric calculations? ...string : manipulation (concatenation, reduction ala DCL)? ...conversion from : binary datatypes to string datatypes (ala F$CVxI())? Simple numeric calculations? In ksh: let x=4*8 echo $x String manipulation? Use awk. Datatype conversion? Not necessary. : How do I get the shell to "export" variables to "outer" levels (ala DCL : global symbols)? Good point. How do you do it in DCL? $ show sym test %DCL-W-UNDSYM, undefined symbol - check validity and spelling $ test:==this is a test $ show sym test TEST == "THIS IS A TEST" $ spawn %DCL-S-SPAWNED, process FULLER_1 spawned %DCL-S-ATTACHED, terminal now attached to process FULLER_1 $ show sym test TEST == "THIS IS A TEST" $ test:==this is a new test $ show sym test TEST == "THIS IS A NEW TEST" $ log Process FULLER_1 logged out at 29-DEC-2001 10:42:07.79 %DCL-S-RETURNED, control returned to process FULLER_0 $ show sym test TEST == "THIS IS A TEST" : How do I get the shell to open/process an indexed file (i.e., do C-ISAM : the way DCL does RMS)? ...return information about the system (ala : F$GETSYI())? ...return info. re: the crontab or "atd" (ala F$GETQUI())? When was the last time you really needed to know the cluster incarnation date/time? In DCL, how does one do looping? How does one perform a series of actions on a group of filenames, or just a group of names (not necessarily files) without a lot of GOTO here and there. Stu (not anti-VMS or anti-DCL - just tired of the "my OS or CLI is better than yours" crap. It's just a different way of doing things.)