Pregunta de entrevista de Evernote

Bash Scripting questions , so change/replace characters.