Re: dash and ANSI escape sequences

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guido Berhoerster <gber@xxxxxxxxxxxx> wrote:
 |You can print arbitrary bytes in a portable way (i.e. as
 |specified by POSIX) by using octal notation, e.g. escape is 033
 |in octal:
 |
 |printf "\033[1;32mpassed\033[0m\n"

That is of course even better.

--steffen
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux