How does one source a file in pdksh?

I've tried '. file' and 'source file' but neither work. A read through the man pages suggests that '.' should work, but I'm getting a not found error:

$ ls -la foo
-rw-r--r--  1 orion  users  16 Nov  2 21:34 foo
$ . foo
sh: .: foo: not found
$ cat foo
alias cls=clear
$ set
 ...
KSH_VERSION='@(#)PD KSH v5.2.14 99/07/13.2'
 ...
$ uname -va
OpenBSD macbsd01.my.domain 3.3 GENERIC#2 macppc

I don't control this box or I'd add bash and a bunch of other GNU utilities in a heartbeat.

Any thoughts?

Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource.  Distribute FLOSS for
Windows, Linux, *BSD, and MacOS X with BitTorrent

_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/ [EMAIL PROTECTED]
http://lists.firepipe.net/listinfo/cwe-lug

Reply via email to