Passing parameters to an alias in ksh ...under AIX

Passing parameters to an alias in ksh ...under AIX

Post by Rob Freyd » Fri, 07 Dec 1990 09:48:39



I am trying to pass a parameter to an alias under AIX on the RS6000.
I would like to set up an alias that will take a directory name as an
argument and then print that in the title of my X window.  I am not having
trouble changing the title ... that is a simple escape sequence.

My Problem is that I cant get the alias to accept a parameter.  I am using
$1 to reference the first parameter... Is this correct ?

Thanks.  Rob.
--
 ____    ____     ____                       Core Lab - Western Atlas Int'l INC
 \   \  /   /\   /    \     Rob              Humans     (318) 235-9431

   \/___/   \/___/   \__\                    Bang    ...!uunet!lafayet!rob