KSH question - there's gotta be a way.

whp at cbnap.UUCP whp at cbnap.UUCP
Tue Jan 20 05:59:34 AEST 1987


Typing "typeset -f" does indeed list all functions and their definitions.
To list only the definition for function foo, type "typeset -f foo".
Works similar to alias (ie "alias" lists all aliases, while "alias foo"
lists only the alias definition for foo).

Wayne H. Pollock,
The Shell Answer Man
UUCP:	...{ihnp4,cbatt}!cbnap!whp
DELPHI:	WHP
GEnie:	W.POLLOCK

	"The opinions expressed above are ficticious.  Any resemblance
	to the opinions of persons living or dead is purely coincidental."



More information about the Comp.unix.questions mailing list