Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!cmcl2!husc6!panda!genrad!decvax!decwrl!pyramid!oliveb!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: Korn Shell Message-ID: <14672@sun.uucp> Date: Sun, 8-Mar-87 18:09:50 EST Article-I.D.: sun.14672 Posted: Sun Mar 8 18:09:50 1987 Date-Received: Mon, 9-Mar-87 18:56:34 EST References: <577@csun.UUCP> Sender: news@sun.uucp Reply-To: guy@sun.UUCP (Guy Harris) Organization: Sun Microsystems, Mountain View Lines: 16 Keywords: alias parameters >Is there a way to pass parameters into aliases in Korn Shell? That is, in >Berkely, I would use something on the order of '!*'; Berkeley isn't a huge city; I presume that if you can use that piece of C shell syntax within the city limits, you can use it outside the city limits as well. I think you meant "in the C shell"; not all systems that have the C shell are primarily derived from code in BSD distributions of UNIX, and not all people using systems so derived use the C shell. >is there something equivalent for ksh? The C shell uses aliases both to perform command aliasing and to provide "built-in" shell scripts. The Bourne and Korn shells use "shell functions" to do the latter.