case translation shell scripts