deftly.net

I think this stuff is cool

OpenBSD pd-ksh on OSX

2011-04-10 by Aaron, tagged as ksh, openbsd, osx

To install OpenBSD's pdksh on linux - you can simply download the source from
here, but for OSX, it's a bit more complicated:


1. First download the package listed above.
2. Then download pmake ( I used the unstable version from Debian ).
3. Apply this patch to pmake.
4. Patch and bootstrap pmake.
cd pmake
patch -p1 < pmake-osx.diff
make -f Makefile.boot
./bmake
5. Patch openbsd-pdksh with this patch.
6. Build openbsd-pdksh!
7. .....magic!
8. VICTORY!!!