Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!pacbell!sactoh0!tree!stever From: stever@tree.UUCP (Steve Rudek) Newsgroups: comp.unix.questions Subject: ksh alias question (I'm not proud) Keywords: ksh alias Message-ID: <292@tree.UUCP> Date: 30 Apr 89 22:03:17 GMT Organization: TREE BBS (916)-349-0385 Sacramento, Ca Lines: 7 I thought I'd save myself some typing by building a file of paths to all my favorite directories and then defining the following alias. alias G='cd `grep $1 /usr/local/ut/paths`' It doesn't work--for the obviously reason that $1 isn't making it to the subshell. I've tried all manner of nested quotes. Suggestions on how to do this? I'd guess it could be done with an eval...but is that really necessary?