From 7ece0a814ad3e995419fda1d328e972148964807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Sun, 12 Jan 2025 19:10:41 +0500 Subject: [PATCH] Better escaping. --- dobroho_vechora.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dobroho_vechora.bash b/dobroho_vechora.bash index 30d9faf..6221ee5 100755 --- a/dobroho_vechora.bash +++ b/dobroho_vechora.bash @@ -89,7 +89,7 @@ decrypt() { print_messages() { open_socket echo -n 2 >&3 - head -c "${1}" <&3 | decrypt | sed -e 's/\x1B/ESC/g' + head -c "${1}" <&3 | decrypt | sed -e 's/\x1B/ESC/g' -e 's/\x0D/RET/g' -e 's/\x08/BAC/g' close_socket }