non GNU utilities

Hi Chaps,
Does anyone know of a source of proprietary unix utilities. I often fall into the trap of testing a spot of code on my linux machine, posting the answer in the forums and then realise that the solution may only work with the GNU utils that I use, and not standard posix ones (if there are such things).
Or, any links to pages that detail the various differences in the various flavours of unix and their utils?
thanks in advance for your time.

There is sort of a partial workaround -

POSIXLY_CORRECT and POSIX_ME_HARDER will change the behavior of a lot, not all, utilities to be POSIX when they are set to 1.

This site lists the utils afftected:
site news - die.net
when you search the site for POSIXLY_CORRECT and POSIX_ME_HARDER.

Thanks, Jim, that is most helpful

You can get Solaris source code at Get the Source at OpenSolaris.org. If you go into the source browser you'll want to look under 'cmd'.

One of the easiest things to do is use Solaris / opensolaris if those options are not strict enough.

The /usr/xpg4/bin directory contains strict POSIX versions. Both are free to download from Solaris Operating System