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 15:21:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-xfer.siscom.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin4.nnrp.aus1.giganews.com.POSTED!not-for-mail Message-ID: <3C2E506A.152D03E0@fsi.net> From: "David J. Dachtera" X-Mailer: Mozilla 4.77 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C2D48CE.FA4FF25A@fsi.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Date: Sat, 29 Dec 2001 17:20:50 CST Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv3-hDM2EES+0gS8mH9kTP939+eLzGYqrsh525cJ6dwbwu/lMxZXKbDZUFdklRa1L5tWM4Aeb1gzzDdNxey!vaW61eSuxyy4SMhvG5b9yKOSKEl7bZq4HkLRiMHmCXo3sr7rT9nGL/PsPw== X-Complaints-To: abuse@GigaNews.Com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Sat, 29 Dec 2001 23:20:50 GMT Xref: archiver1.google.com comp.os.vms:57343 alt.sys.pdp10:8862 comp.sys.dec:10471 Peter da Silva wrote: > > In article <3C2D48CE.FA4FF25A@fsi.net>, > David J. Dachtera wrote: > >> 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? > > For scripting. DCL Supports "scripting". See HELP "@". > >How do I get a shell to check/verify command line options and values (if > >any) before it invokes the program? > > This doesn't make sense on UNIX, Why not? (I suspect the answer may be "for legacy reasons".) > just as some of the command substitution > tricks that don't fit into the highly structured DCL make sense on VMS. > > >How do I enable command/option abbreviation? > > In a script? You don't want to! How do you know this? > >How do I get filespec expansion to recurse directories? > > Find. "find" is aexternal program, not the shell. > >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. > >How do I get the shell to "export" variables to "outer" levels (ala DCL > >global symbols)? > > That isn't meaningful in UNIX Well, actually, yes it is. However, since it isn't possible, most folks find other ways of doing it or just live without that capability. > , whether you're using a shell or one of > the DCL implementations on UNIX. You might as well ask how you chroot > in VMS. Simple: $ DEFINE/EXEC/SYSTEM SYS$SYSTEM new_path_specification (Requires SYSNAM and CMEXEC privilege.) Re-directing page/swap/dump files, etc. is another question entirely. > >How do I get the shell to open/process an indexed file (i.e., do C-ISAM > >the way DCL does RMS)? > > You call a utility program to do it. Then, the external program is doing it, not the shell. DCL has native support for RMS, although ISAM support is limited to string keys only. > >...return information about the system (ala > >F$GETSYI())? > > sysctl "sysctl" is an external program, not the shell. > >...return info. re: the crontab or "atd" (ala F$GETQUI())? > > crontab, atq? "crontab" and "atq" are external programs, not the shell. -- David J. Dachtera dba DJE Systems http://www.djesys.com/ Unofficial Affordable OpenVMS Home Page: http://www.djesys.com/vms/soho/