Discussion: printf '\e'
Afficher un message
Vieux 25/03/2008, 16h03   #5
Stephane CHAZELAS
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
 
Page generated in 0,04563 seconds with 9 queries