Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!NUSVM.BITNET!GBOPOLY1 From: GBOPOLY1@NUSVM.BITNET (fclim) Newsgroups: comp.sys.apollo Subject: Re: Simple csh question Message-ID: <8903100328.AA05277@umix.cc.umich.edu> Date: 10 Mar 89 03:24:22 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 26 X-Unparsable-Date: Fri, 10 Mar 89 11:15:03 SST In article <15510@cup.portal.com>, Scott Andrew Marr ask Could someone tell me why the following alias doesn't work: alias rm "mv $* /user/myname/dumpster" If I type 'rm specific_file_name' I get: mv: specific_file_name exists Or if I type 'rm *' I get: Usage: mv [-f] f1 ... fn d1 Is this just a fluke for Domain IX (S.R. 9.7)? The $* metacharacter is only valid in a Csh script. The aliasing mechanism does not substitite $* with the arguments you supplied. You should use !* (in case my mailer maps these differently, these 3 characters are ). The is to quote the !. There is a pd program in comp.sources.unix called unrm.rm that does what you have in mind. fclim. :-) fclim --- gbopoly1 % nusvm.bitnet @ cunyvm.cuny.edu computer centre singapore polytechnic dover road singapore 0513.