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: 2002-01-03 08:29:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!hub1.nntpserver.com!peer1-sjc1.usenetserver.com!fs01-sjc1.usenetserver.com!usenetserver.com!news.webusenet.com.POSTED!53ab2750!not-for-mail Message-ID: <3C348512.B8B9593F@srv.net> From: Kevin Handy X-Mailer: Mozilla 4.74 [en] (Win98; 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> <0ojk0a.76k1.ln@lucifer-ec0> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@usenetserver.com 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. NNTP-Posting-Date: Thu, 03 Jan 2002 11:18:58 EST Organization: WebUseNet Corp. http://corp.webusenet.com - ReInventing the UseNet Date: Thu, 03 Jan 2002 09:21:38 -0700 Xref: archiver1.google.com comp.os.vms:58036 alt.sys.pdp10:9013 comp.sys.dec:10849 Bob Koehler wrote: > > Michael Zarlenga 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. > > So how do I do the following in you favorite shell (yes, I do know > two painfull answers)? > > rename *.a *.b Why don't you show us how to make rename *.a.part2 *.b.part1 work on VMS? Because you can't. The file systems are different, and VMS doesn't allow multiple periods in a file name, while UNIX does. There are actually many ways to do this using a shell script, but it will require more typing than on VMS. The UNIX file system does not consider things after a decimal point to be a separate part of the file name like VMS does, and thus doesn't have built in rules to change individual "pieces" of the name. If I wanted to prove the superiority of UNIX in the same fashion, I could ask how would you do the following on VMS mv my_file.one my_file.one.part1 Answer: You would have to punt. VMS only allows one decimal point in a file name. You would have to change one of the decimal points into some other character. Does this prove UNIX superiority? I doubt it. You could also play games with the characters UNIX accepts in a file name but VMS does not. It's a stupid comparison. Anyway, this is a rarely needed operation on either system. The real question should be "why do you have to change the names?" If you are trying to hide the files, why not just put them in a sub directory where you don't have to mangle the names. If they have the wrong extension on them, why? Find the person who gave them the wrong name in the first place, and beat the &#^%& out of him. Maybe he won't do it again. Each OS has it's good and bad points. Use whichever one that fits the task. Picking one operation to "prove" the superiority of one over the other is silly and stupid. You might just as well say UNIX is better because you can type "who" on it, while VMS forces you to type the painfully longer "show user". It's a stupid comparison.