Re: printf '\e'
2008-03-25, 06:53(-07), Spiros Bousbouras:
[...]
>> Only '\a', '\b', '\f', '\n', '\r', '\t', '\v' are standard.
>
> That's what I thought but can an implementation
> output anything it wants with \e or is there a collection
> of permitted behaviours ?
\e is unspecified. If you want to output \e as opposed to the
ESC character, use printf '\\e' or printf %s '\e'
--
Stéphane
|