source command on ksh?

Lawrence V. Cipriani lvc at cbnews.ATT.COM
Wed Nov 2 00:23:18 AEST 1988


In article <17396 at adm.BRL.MIL> Leisner.Henr at xerox.com (Marty) writes:
>A friend of mine is using the MKS korn shell on DOS and wanted to know:
>"How do I run a shell script in the context of the current shell?"
>How do I do it on ksh?

Use the `dot' command:

	. filen [arg ...]

Where filen is the name of the file to be sourced and [arg ...] are
optional arguments.
-- 
Larry Cipriani, AT&T Network Systems, Columbus OH,
Path: att!cbnews!lvc    Domain: lvc at cbnews.ATT.COM



More information about the Comp.unix.wizards mailing list