I'm trying to run a configuration script of a Prolog compiler I just downloaded. It's frustrating since I've been running around, hacking the file, downloading Win32 ports of various *nix utilities (such as grep and sed), as well as a 500K++ shell (bash).

If anyone of you happens to be a *nix specialist, drop me a line. I'm about to pull out (the last remnants of) my hair.