My first large contribution to Postgres was a complete rewrite of initdb. Back before version 8.0, this was a shell script. But for the Windows port we needed it to be written in C, and without using all the utility commands which are available on Unix systems, like sed and grep. The original; was committed to the source by Bruce just over 7 years ago. Rereading the current source code briefly yesterday, I was mildly amazed to see how much of the original code was still there. It seems to have stood the test of time much better than I expected. Some of the comment are probably a bit redundant now, like
I have no idea how to handle this. (Strange they call UNIX an application!)
So this will need some testing on Windows.
I think 7 years is long enough as a testing period