Date: Fri, 18 Feb 2000 11:56:56 -0600 From: Dan Nelson <dnelson@emsphone.com> To: rene@xs4all.nl Cc: questions@FreeBSD.ORG Subject: Re: echo and ANSI sequences? Message-ID: <20000218115656.A43114@dan.emsphone.com> In-Reply-To: <2605.000218@xs4all.nl>; from "rene@xs4all.nl" on Fri Feb 18 14:31:19 GMT 2000 References: <2605.000218@xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 18), rene@xs4all.nl said: > Hello questions, > > Echo, however, doesn't wanna play. I suspect the parsing of \e > doesnt become a 1-byte ESC-character :(( Correct. echo simply echos the characters exactly as written. If you want to send an ESC, either embed a raw ESC in the script, or use the printf command, like printf "\033[0m]". -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000218115656.A43114>