From 3b6b3c20f1169e343eac3893fcb6e3684d5e5e89 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Wed, 19 Jan 2022 18:01:17 -0300 Subject: [PATCH] Use stderr --- scripts/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/common.sh b/scripts/common.sh index eac96d7..0e3d196 100755 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -103,7 +103,7 @@ usePlainText() { printf "$2\n" if [ $inputbox = true ]; then read -r readVar - printf "$readVar" + printf "$readVar" 1>&2 elif [ $yesnobox = true ]; then printf "[y/n] " read -n 1 -r readVar @@ -121,7 +121,7 @@ usePlainTextMenu() { ((i++)) done read -n 1 -r readVar - echo "$readVar" + printf "$readVar" 1>&2 } getLastArgument() {