Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!seismo!sundc!nears!occrsh!occrsh.UUCP!tiger.UUCP!authorplaceholder From: authorplaceholder@tiger.UUCP.UUCP Newsgroups: comp.unix.questions Subject: Re: KSH question - there's gotta be a w Message-ID: <141700001@tiger.UUCP> Date: Mon, 26-Jan-87 10:26:00 EST Article-I.D.: tiger.141700001 Posted: Mon Jan 26 10:26:00 1987 Date-Received: Tue, 3-Feb-87 19:23:18 EST References: <605@rtech.UUCP> Lines: 19 Nf-ID: #R:rtech.UUCP:-60500:tiger.UUCP:141700001:000:711 Nf-From: tiger.UUCP!jal Jan 26 09:26:00 1987 >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. Suppose I want to >see what function "foo" is defined to be? "whence -v" would be the >natural candidate, but it just says "foo is a function". >-- > >Bob McQueer >{amdahl, sun, mtxinu, hoptoad, cpsc6a}!rtech!bobm Try "functions foo". This will list out the function declaration for "foo". If you want all function definitions, just type "functions". J. Allen Schones UUCP: ihnp4!occrsh!tiger!jal AT&T Technologies PHONE: (405) 491-4950 Oklahoma City Works MAIL: 7725 W. Reno Oklahoma City, OK 73125