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: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-ArrivalTime: 1994-02-28 12:39:48 PST Xref: gmd.de comp.org.decus:2431 comp.os.vms:41115 comp.sys.dec:13669 comp.unix.advocacy:701 Path: gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!agate!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: 28 Feb 1994 21:39:48 +0100 Organization: Update Computer Club Message-ID: <2ktkr2$nhb@Krille.Update.UU.SE> References: <1994Feb26.204059.4068@mixcom.mixcom.com> <1994Feb28.140951.24948@mcnc.org> <2ksvt2$g9c@mail.fwi.uva.nl> <2kt229$eat@Krille.Update.UU.SE> NNTP-Posting-Host: krille.update.uu.se In dgay@di.epfl.ch (David Gay) writes: >In article <2kt229$eat@Krille.Update.UU.SE> bqt@Krille.Update.UU.SE (Johnny Billquist) writes: > In <2ksvt2$g9c@mail.fwi.uva.nl> casper@fwi.uva.nl (Casper H.S. Dik) writes: > VMS provides support for filename wildcarding, Unix don't. > Some Unix shells have a workaround for the lack of the feature in > Unix by expanding wildcards themself, before calling the program. > However, this is not a good solution. It can be lived with, but > it isn't very good. > >[...] > Unix have no idea what a wildcard filename is, while VMS do. > That's the difference. Since many want to use wildcards in > filenames, shells have been developed which provides you with this > sort of. >Strange, I was under the impression that /bin/sh had been around for a >rather long time... It must also be a complete coincidence that most >(99%?) of Unix utilities will operate on a list of filenames separated >by spaces and that all shells expand wildcards by replacing them by a >list of space separated filenames ? 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. 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. 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. 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