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

Rob Freyder rob at lafayet.UUCP
Thu Dec 6 11:48:39 AEST 1990


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
  \   /   /\  \/   /\  \    Freyder          Internet   rob at lafayet.waii.com
   \/___/   \/___/   \__\                    Bang    ...!uunet!lafayet!rob



More information about the Comp.unix.shell mailing list