From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-ArrivalTime: 1994-03-01 13:14:58 PST Xref: gmd.de comp.org.decus:2501 comp.os.vms:41227 comp.sys.dec:13705 comp.unix.advocacy:723 Path: gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!ub!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!sunic!columba.udac.uu.se!Krille.Update.UU.SE!Krille.Update.UU.SE!not-for-mail From: bqt@Krille.Update.UU.SE (Johnny Billquist) Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Date: 1 Mar 1994 22:14:58 +0100 Organization: Update Computer Club Message-ID: <2l0b90$act@Krille.Update.UU.SE> References: <1994Feb26.204059.4068@mixcom.mixcom.com> <2kt229$eat@Krille.Update.UU.SE> <2ktkr2$nhb@krille.update.uu.se> NNTP-Posting-Host: krille.update.uu.se In crosby@rintintin.Colorado.EDU (Matthew Crosby) writes: >In article <2ktkr2$nhb@krille.update.uu.se>, >Johnny Billquist wrote: >> >>VMS commands can also take a list of filenames. >>My point was that UNIX have no idea what a wildcard is. >>If you give an asterisk as a filename to Unix, it will say >>thank you and yes ma'm. >>/bin/sh has been around for quite some time yes. I never said >>that the workaround was invented last year. But it still is >>a workaround because Unix still don't support wildcards in >>filenames. >>There are no conincidents here, the workaround has been very >>explicitly developed over a long time. >Its not a workaround. It was a concious design decision. The decision not to support wildcards was a concious design decision, it had to do with the type of resources available at the time Unix was written I suppose. I still consider the wildcarding solution in Unix to be a workaround. >>In some places, however, you will not get what you thought, >>if you come from a DEC OS to unix. >> >>Consider that you want to rename a bunch of files from >>.foo to .bar >>In VMS you say RENAME *.foo *.bar >> >>If you try mv *.foo *.bar in unix, you'll get a nasty surprise. >>mv thinks that all arguments up until the last one is a source >>specification, and the last one is always a destination. >>So, if you don't have any files named .bar, the >>last file named .foo will get clobbered, otherwise >>the last file named .bar, which already exists >>will get clobbered. (Which was a shortcircuit on my part. It won't get clobbered, but you won't get the action done either. Just an error.) >>Hmm, sorry about this. Just that I can get a little excited >>when I think about the lousy solution Unix offers to people >>who want wildcards. >> >You may think its lousy. I for one think it definately is the right way >to go. The idea of Unix is that if you leave it to the shell, that lets >users decide how their wildcarding works. Say I wanted my wildcarding to >work differently--I would simply rewrite my shell. No one else would notice >anything else. IMHO, putting wildcarding in the shell is one of the best >ideas Unix came up with. Well, I prefer the VMS way here. If you want wildcarding to work differently, you write another library. VMS have had dynamic libraries since ages, so no need to recompile anything, and it also works inside the program. In Unix, you either only have wildcards at the shell, or you need to write your own wildcard expansion routines inside your program, which won't change if you change the shell behaviour. Is there not other people who gets irritated at Unix for not expanding anything on its own? Try specifying your home directory in a Unix program with tilde. Sometimes it works, sometimes not. All depending on what that specific programmer felt like fixing. Same for environment variables, and anything else you can think of. Johnny -- Johnny Billquist || "I'm on a bus CS student at Uppsala University || on a psychedelic trip email: bqt@minsk.docs.uu.se || Reading murder books pdp is alive! || tryin' to stay hip" - B. Idol