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: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-ArrivalTime: 1994-03-01 01:50:18 PST Xref: gmd.de comp.org.decus:2438 comp.os.vms:41152 comp.sys.dec:13684 comp.unix.advocacy:710 Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Path: gmd.de!xlink.net!howland.reston.ans.net!agate!boulder!cnsnews!rintintin.Colorado.EDU!crosby From: crosby@rintintin.Colorado.EDU (Matthew Crosby) Subject: Re: Is VMS Dying? Message-ID: Sender: usenet@cnsnews.Colorado.EDU (Net News Administrator) Nntp-Posting-Host: rintintin.colorado.edu Organization: University of Colorado, Boulder References: <1994Feb26.204059.4068@mixcom.mixcom.com> <2kt229$eat@Krille.Update.UU.SE> <2ktkr2$nhb@krille.update.uu.se> Date: Tue, 1 Mar 1994 09:50:18 GMT 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. > >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. > 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.