Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!waikato.ac.nz!comp.vuw.ac.nz!actrix!templar!jbickers Newsgroups: comp.sys.amiga.misc Subject: Re: AmigaDOS 2.0/ARP Aliases... Message-ID: <2363.tnews@templar.actrix.gen.nz> From: jbickers@templar.actrix.gen.nz (John Bickers) Date: Fri, 18 Apr 1991 08:16:46 GMT References: <1991Apr13.115301.7022@sactoh0.sac.ca.us> Organization: TAP, NZAmigaUG. Lines: 21 Quoted from <1991Apr13.115301.7022@sactoh0.sac.ca.us> by ksk@sactoh0.sac.ca.us (Ken Krebs): > #1 In the AmigaDOS 2.0 Shell, can an Alias run several commands? > For example: > > Alias JR Copy Sys:JRComm/#? RAM:JRComm ; Run TelecomDisk:JR-Comm Under WShell+ARexx, and presumably now under 2.0+ARexx, you can do: alias jr literal "'....'; '....'; '....'" You can also do better argument handling using ARexx, like: alias do literal "arg $1; 'munge '$1'.in '$1'.out'; 'del ram:'$1'.tmp'" Etc. > |NewOrderDepecheModeSiouxsie&TheBanshees|Internet: ksk@sactoh0.SAC.CA.US | -- *** John Bickers, TAP, NZAmigaUG. jbickers@templar.actrix.gen.nz *** *** "Patterns multiplying, re-direct our view" - Devo. ***