First I guess I should ask where the best place to ask script questions is. Anyone have any links?
Now the questions:
What I'm trying to configure is a script that takes an (random string) argument ( $1 ) and first determines if it is all upper case or lower case.
If possible I would like to also do this: If it is a mixture I would like to convert it to either all upper case or lower case. If not possible an exit and
echo "argument must be either all upper or lower case"
would suffice.
Next, later in the script, I need to convert that argument to it's alternative (all upper to lower, or vice versa)
Please do this in #!/bin/sh
Thanks!!!!