#!/bin/bash
printf "\e[31mhello\e[m\n"
In Terminal, I get a red "hello". In TM, I get
[31mhello[m
Seems like some kind of escaping thing going on; can anyone point me in the right direction? I've tried a number of variations, including using print and echo (with -e and w/o), but I get essentially the same results.
Thanks,
+dru