bug-bash
[Top][All Lists]
Advanced

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

Proposed Prompt Escapes


From: Dennis Williamson
Subject: Proposed Prompt Escapes
Date: Thu, 5 Nov 2015 18:26:19 -0600

It might be handy to have some of the escapes that work in $'string' quoting to also work in prompts especially now with the ${parameter@P} transformation.

Specifically the hex, unicode and control ones: \xHH, \uHHHH, \UHHHHHHHH and \cx.

I presume that the dollar-single-quote escapes should not be touched since they are "specified by the ANSI C standard". Also, they needn't be since we have the @P transformation.

--
Visit serverfault.com to get your system administration questions answered.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]