Take the output of a randomly chosen .sh file, split it by '=' and take the second part, then split it by spaces and put each word on a new line, then pipe it to the rename command to replace underscores with hyphens in each word.
tac <(tr ' ' '\n' <(echo "$(cut -d '=' -f2 <(shuf -n 1 $(find . -type f -name '*.sh')))")) | xargs -I {} rename 's/_/\-/g' {}