source command on ksh?

Dave Hammond daveh at marob.MASA.COM
Fri Nov 4 03:04:12 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?"

In both ksh and sh, the dot (".") command does this, e.g.:

. shell_script

Dave Hammond
  UUCP: ...!uunet!masa.com!{marob,dsix2}!daveh
DOMAIN: daveh at marob.masa.com
----------------------------------------------------------------------------



More information about the Comp.unix.wizards mailing list