in reply to Real live code

I think you can figure out how to make the script portable into unix/win32 with the $^O var.