From 369b19a10091594de2aa117cd7228cf3824c1e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 7 May 2017 19:08:01 +0200 Subject: Small changes in echo to make it look nice even without -n --- utils/inst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/inst b/utils/inst index e0a490e..2bb41f7 100644 --- a/utils/inst +++ b/utils/inst @@ -3,10 +3,10 @@ ask() { if $FORCE; then - echo -ne "\e[1;34m$1\e[0m" + echo -e "\e[1;34m$1\e[0m" # Fall trough with 0 exit (always yes) else - echo -ne "\e[1;34m$1? (Y/n) \e[0m" + echo -e -n "\e[1;34m$1? (Y/n) \e[0m" read [[ $REPLY =~ ^[Yy]?$ ]] fi -- cgit v1.2.3