Escaping for outputs in Bash implementation.