Monday, March 23, 2009

another (big) section of the manual written, ENV processing, and an initial implementation for the history built-in among a few other things is done.


One interesting thing, usually sh only allows a single file in $ENV, and some versions of sh don't even understand it period! In tpsh, as an interesting extension $ENV is treated like $PATH, in so far as ENV=/etc/tpshrc:/usr/local/etc/tpshrc:~/.tpshrc would cause tpsh to source an rc file in /etc, /usr/local/etc, and then the users home directory.

(Because of old OSes using drive letter:path like C:\Windows, under such OS tpsh uses ';' instead of ':' to separate things like $PATH)

No comments:

Post a Comment