RD - well, at least you have learned something about shell scripts. And I have to admit, so have I - I hadn't used case statements in bash scripts before (although I use them all the time in C). So it hasn't been a complete waste of time.
You may find after a bit of research that you are free to use the script itself, but changing the copyright assignment is a definite no-no.
And this is a good example of why SCO won't find any dodgy code in Linux - with development done so publicly, anything that isn't kosher gets outed very quickly