Korn Shell Aliases

Mark Brown mbrown at dec3.osf.org
Fri Dec 15 00:30:31 AEST 1989


In article <1989Dec12.182809.5507 at mccc.uucp> root at mccc.uucp (Pete Holsberg) writes:
>A user on CompuServe asks if there is a way to define a Korn shell alias
>with positional parameters, a la a script.  He says that every time he
>tries a definition, the actual parameter is ignored.

Try writing a ksh "function"; these are provided to do exactly what this
guy seems to be asking for...
   
   
   
   
Mark Brown   IBM AWD / OSF  | The hardest thing in the world to understand,   
The Good     mbrown at osf.org |     is income tax.                              
The Bad     uunet!osf!mbrown|                       ---Albert Einstein        
The Ugly     (617) 621-8981 |                                                 



More information about the Comp.unix.questions mailing list