If I run echo -e "e[1;31mThis is red texte[0m"
in comand line, It prints out red text.
However, if I use write it in script file test.sh
#! /bin/bash
echo -e "e[1;31mThis is red texte[0m"
run $ sh test.sh
It prints out
-e e[1;31mThis is red texte[0m
Why they act differntly?