Korn Shell
Sam Lok
ssl at ptsfa.UUCP
Wed Mar 11 03:30:48 AEST 1987
In article <14672 at sun.uucp> guy at sun.UUCP (Guy Harris) writes:
>>Is there a way to pass parameters into aliases in Korn Shell? That is, in
>>Berkely, I would use something on the order of '!*';
>>is there something equivalent for ksh?
>The C shell uses aliases both to perform command aliasing and to
>provide "built-in" shell scripts. The Bourne and Korn shells use
>"shell functions" to do the latter.
Ksh support both alias and function. To answer the original question,
the answer is 'yes', try '$*' or '$@'.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Sam Lok San Francisco {ihnp4,pyramid,qantel}!ptsfa!ssl
|| To err is human, to really foul things
Disclaimer!? WHAT disclaimer? || up requires super-user privilege!
More information about the Comp.unix.questions
mailing list