Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!snorkelwacker!paperboy!dec3!mbrown From: mbrown@dec3.osf.org (Mark Brown) Newsgroups: comp.unix.questions Subject: Re: Korn Shell Aliases Summary: functions Message-ID: <2044@paperboy.OSF.ORG> Date: 14 Dec 89 13:30:31 GMT References: <1989Dec12.182809.5507@mccc.uucp> Sender: news@OSF.ORG Reply-To: mbrown@dec3.osf.org (Mark Brown) Distribution: na Organization: Open Software Foundation Lines: 15 In article <1989Dec12.182809.5507@mccc.uucp> root@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@osf.org | is income tax. The Bad uunet!osf!mbrown| ---Albert Einstein The Ugly (617) 621-8981 |