KSH: Import File With Variables and Functions

in Categories last updated September 20, 2011

How do I import variables and functions defined in lib.ksh script to another ksh script called setup.ksh under Linux / Unix like operating systems? How do I execute commands from a file in the current KSH shell?