added osx escape character version for echo