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-30 05:02:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!207-172-216-115 From: jmfbahciv@aol.com Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: Sun, 30 Dec 01 10:54:30 GMT Organization: UltraNet Communications, Inc. Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C2D48CE.FA4FF25A@fsi.net> <3C2E506A.152D03E0@fsi.net> X-Trace: UmFuZG9tSVbUVpAAPOvfaaM9mlgDWRBqFNLnGJctwzlKD5VOrO92LcW0IsKwPeZp X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 30 Dec 2001 13:00:54 GMT X-Newsreader: News Xpress Version 1.0 Beta #4 Xref: archiver1.google.com comp.os.vms:57391 alt.sys.pdp10:8882 comp.sys.dec:10518 In article <3C2E506A.152D03E0@fsi.net>, "David J. Dachtera" wrote: >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. > Wait. Why do you think you have to have it all in the shell? You might wish to reexamine your definitions of external programs and shell. Everything we used on TOPS-10 was an external program...even the shell. /BAH Subtract a hundred and four for e-mail.