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 18:50:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!SSRL04.SLAC.STANFORD.EDU!WINSTON From: winston@SSRL.SLAC.STANFORD.EDU ("Alan Winston - SSRL Admin Cmptg Mgr") Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: Sun, 30 Dec 2001 02:42:52 GMT Organization: SLAC.STANFORD.EDU Message-ID: <00A07421.161CA0C9@SSRL04.SLAC.STANFORD.EDU> References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C2D48CE.FA4FF25A@fsi.net> <3C2E506A.152D03E0@fsi.net> Reply-To: winston@SSRL.SLAC.STANFORD.EDU NNTP-Posting-Host: ssrl04.slac.stanford.edu Xref: archiver1.google.com comp.os.vms:57360 alt.sys.pdp10:8873 comp.sys.dec:10489 In article <3C2E506A.152D03E0@fsi.net>, "David J. Dachtera" writes: quoted Peter da Silva quoting him: >> >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())? >> >> expr, awk, sed, join, ... > >These are external programs, not the shell. Yeah, but what's the virtue of being shell-only, when there are multiple shells and you can't guarantee which one you'll be running under. (In VAX VMS, anyway, you can be pretty sure you'll always have DCL and you'll always have MACRO, so those skills will be portable to every customer machine.l You aren't guaranteed to have Korn shell, Bourne shell, Bourne-again shell, C shell - any particular shell - on a customer system, so what's the point? You'll probably have those external programs, and if you don't, you can probably download and install them.) And why do you care whether things are in the shell or are commonly-used system programs? > >> >...return info. re: the crontab or "atd" (ala F$GETQUI())? >> >> crontab, atq? > >"crontab" and "atq" are external programs, not the shell. Right, but $ SHOW QUEUE is an external program, and so is $ SUBMIT. So why are those better? If the virtue is that it's more easily scriptable to have lexical functions, okay, but in pretty much any Unix shell it's easily scriptable to open a pipe to some external program to get the data for you and process it in your shell script. So, even as a big VMS fan, I'm not sure I see why this line of argument justifies a claim of DCL superiority. (I'd go along the lines of "guessable commands and regular interfaces" to make that claim.) -- Alan =============================================================================== Alan Winston --- WINSTON@SSRL.SLAC.STANFORD.EDU Disclaimer: I speak only for myself, not SLAC or SSRL Phone: 650/926-3056 Physical mail to: SSRL -- SLAC BIN 69, PO BOX 4349, STANFORD, CA 94309-0210 ===============================================================================