Re: [Help-bash] read -ep and ANSI colour sequences
From:
Chris Down
Subject:
Re: [Help-bash] read -ep and ANSI colour sequences
Date:
Wed, 20 Feb 2013 19:30:31 +0800
User-agent:
Mutt/1.5.21 (2010-09-15)
On 2013-02-20 06:18, Chris F.A. Johnson wrote:
> read -ep $'\e[41;37;1m >> \e[0m '
Whilst this is valid from bash2 onwards and should work fine, you should be
aware that if you require POSIX compatibility down the line, this will break.
( Yes, I am aware this is `help-bash', not `help-posix' ;-) )
Chris