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-13 10:43:12 PST Xref: gmd.de comp.org.decus:3017 comp.os.vms:42401 comp.sys.dec:14344 comp.unix.advocacy:1180 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!convex!seas.smu.edu!mic!tachyon!montagar!davidc Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Message-ID: <1994Mar13.134312.18813@avatar.montagar.com> From: davidc@avatar.montagar.com (David L. Cathey) Date: 13 Mar 94 13:43:12 CDT References: <1994Feb26.204059.4068@mixcom.mixcom.com>< Distribution: world Organization: Montagar Software Concepts, Plano TX In article , rockwell@nova.umd.edu (Raul Deluth Miller) writes: > Carl J Lydick: > Using the Unix approach to wild-carding ... also means that you > can't give two wild-card arguments in a single command. If you > want to do either of the above, you've got to pass the wildcard > itself, and not the expansion of the wildcard, to the program, or > have the program read the list of file names from a file instead of > taking the filespecs as an argument. > > Or, have the shell do it for you: > $ for x in *.[ch]; do cp $x ${x}_backup; done > > Since unix allows you to use arbitrary commands in place of wild > cards, you wind up with a lot more flexibility this way than you do > with VMS's scheme. But it makes even doing some simple operations a programming exersize. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - David L. Cathey |INET: davidc@montagar.lonestar.org Montagar Software Concepts |UUCP: ...!montagar!davidc P. O. Box 260772, Plano TX 75026-0772 |Fone: (214)-618-2117 NOTE: Due to circumstances beyond my control, please use the lonestar.org address until further notice.