KSH question - there's gotta be a way.

Eduardo Krell ekrell at ulysses.homer.nj.att.com
Tue Jan 20 04:58:30 AEST 1987


In article <605 at rtech.UUCP> bobm at rtech.UUCP (Bob Mcqueer) writes:
>But I can't find it in the man page.  How do I get the shell to
>show me the definition for a function, as opposed to an alias?  The
>command "typeset -f" will list defined functions.

Since "typeset -f" lists all functions, I would expect "typeset -f foo"
to list function "foo". Sure enough, that's what it does.

-- 
    
    Eduardo Krell                   AT&T Bell Laboratories, Murray Hill

    {ihnp4,seismo,ucbvax}!ulysses!ekrell



More information about the Comp.unix.questions mailing list