Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpl-opus!steinbac From: steinbac@hpl-opus.HP.COM (Gunter Steinbach) Newsgroups: comp.unix.questions Subject: Re: ksh alias question (I'm not proud) Message-ID: <63720004@hpl-opus.HP.COM> Date: 1 May 89 23:02:03 GMT References: <292@tree.UUCP> Organization: HP Labs, High Speed Electronics Dept., Palo Alto, CA Lines: 10 No, aliases don't take positional arguments in kshell like they do in cshell, you have to use a "function" instead. See the ksh man page for how to make one. Here is a working version of what you wanted to do: function G { cd `grep $1 /usr/local/ut/paths`;} And don't forget the "trailing" semicolon. Good luck - Gunter Steinbach