bug-bash
[Top][All Lists]
Advanced

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

is it a bug that \e's dont get escaped in declare -p output


From: Alex fxmbsw7 Ratchev
Subject: is it a bug that \e's dont get escaped in declare -p output
Date: Wed, 17 Mar 2021 17:43:01 +0100

it makes the output no more possible if interpreted by tty
the \e's get processed by terminal and no more .. just an example where it
is so:

var=$'1\e[G\e[K2' ; declare -p var

if G was H for other line then it completly messes the terminal up

isnt it better to escape by \e ? ..


reply via email to

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