Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!vsi1!ubvax!ardent!rap From: rap@ardent.UUCP (Rob Peck) Newsgroups: comp.sys.amiga Subject: Re: arp CD command change??? Message-ID: <4129@ardent.UUCP> Date: 6 Mar 89 19:45:09 GMT References: <8902131846.AA21527@postgres.Berkeley.EDU> <35960@bbn.COM> <10657@stb.UUCP> Organization: Dana Computer, Inc., Sunnyvale, CA Lines: 35 In article <10657@stb.UUCP>, michael@stb.UUCP (Michael) writes: > In article <6001@cbmvax.UUCP> ditto@cbmvax.UUCP (Michael "Ford" Ditto) writes: > > [comparison of what can and can not be done in amigados/unix] > > > >Here are some examples of things that just CAN'T be done with > >AmigaDos wildcards: [ examples deleted ] Anyone who has problems with commands not supporting wildcards should look at (or just USE) the SPAT or DPAT scripts that are now in the S: directory for 1.3. The syntax is: SPAT or DPAT These each run the named command once (in a script-directed loop) for each time a filename matches the wildcard string that you provide. Thus the file itself need never support wildcarding because it gets run perhaps many times, but each time receives only a vanilla (simple) file name. I especially like the alias assigned for the RENAME command (forgot if they used 're' or what, but essentially it lets you move a wildcard specified set of files from one directory to another in a single command invocation. Very nice. Just like Unix's mv dir1/dir2/dir3/* newdir The AmigaDOS equivalent uses DPAT... see the file S:Shell-startup for details. Rob Peck