Mars Rovers V: The Solutions — Bash

The problem starts with a string and ends with a string. Bash can certainly do strings.