more Shortest Repetition

Bash