pdksh is a public domain implementation of the Korn shell (ksh88), a UNIX command line interpreter / scripting language. It also follows the POSIX 1003.2 spec for a shell. The few missing ksh88 features and some ksh93 features are being added.
SHSTAT is like the stat command and the stat() function except that it's designed for use in shell scripts. The tar.gz file contains a single C source file and a man page. A partial alternative to shstat is GNU find via its printf argument.