From f832d43206035e4101472a1d07d261952dfdd85d Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Sun, 31 Jul 2022 11:54:40 +0200 Subject: Swapped echo -e for printf in various scripts. --- showColors.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'showColors.sh') diff --git a/showColors.sh b/showColors.sh index d879e51..dc1b911 100755 --- a/showColors.sh +++ b/showColors.sh @@ -1,12 +1,12 @@ #!/bin/bash -echo -e "\033[0;30mBlack (0;30) \033[1;30mLight Black (1;30)" -echo -e "\033[0;31mRed (0;31) \033[1;31mLight Red (1;31)" -echo -e "\033[0;32mGreen (0;32) \033[1;32mLight Green (1;32)" -echo -e "\033[0;33mOrange (0;33) \033[1;33mLight Orange (1;33)" -echo -e "\033[0;34mBlue (0;34) \033[1;34mLight Blue (1;34)" -echo -e "\033[0;35mMagenta (0;35) \033[1;35mLight Magenta (1;35)" -echo -e "\033[0;36mCyan (0;36) \033[1;36mLight Cyan (1;36)" -echo -e "\033[0;37mWhite (0;37) \033[1;37mLight White (1;37)" +printf "\033[0;30mBlack (0;30) \033[1;30mLight Black (1;30)\n" +printf "\033[0;31mRed (0;31) \033[1;31mLight Red (1;31)\n" +printf "\033[0;32mGreen (0;32) \033[1;32mLight Green (1;32)\n" +printf "\033[0;33mOrange (0;33) \033[1;33mLight Orange (1;33)\n" +printf "\033[0;34mBlue (0;34) \033[1;34mLight Blue (1;34)\n" +printf "\033[0;35mMagenta (0;35) \033[1;35mLight Magenta (1;35)\n" +printf "\033[0;36mCyan (0;36) \033[1;36mLight Cyan (1;36)\n" +printf "\033[0;37mWhite (0;37) \033[1;37mLight White (1;37)\n" read -rsp "" -d "q" -- cgit v1.2.1