From cfac7d4cadbc93f20c0b4e6badfcabb9f55f0ad5 Mon Sep 17 00:00:00 2001
From: seuzw <930zhaowei@163.com>
Date: Sun, 26 Sep 2021 15:38:49 +0800
Subject: [PATCH] use -e para to make transferred meaning take effect

---
 infiniband-diags/scripts/ibcheckerrs.in      | 2 +-
 infiniband-diags/scripts/ibchecknode.in      | 2 +-
 infiniband-diags/scripts/ibcheckport.in      | 2 +-
 infiniband-diags/scripts/ibcheckportstate.in | 2 +-
 infiniband-diags/scripts/ibcheckportwidth.in | 2 +-
 infiniband-diags/scripts/ibdatacounts.in     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/infiniband-diags/scripts/ibcheckerrs.in b/infiniband-diags/scripts/ibcheckerrs.in
index 1edd1eb..4902f55 100644
--- a/infiniband-diags/scripts/ibcheckerrs.in
+++ b/infiniband-diags/scripts/ibcheckerrs.in
@@ -140,7 +140,7 @@ else
 fi
 
 if [ "$suppress_deprecated" = "no" ]; then
-echo "*** WARNING ***: this command is deprecated; Please use \"ibqueryerrors\"\n\n" 1>&2
+echo -e "*** WARNING ***: this command is deprecated; Please use \"ibqueryerrors\"\n\n" 1>&2
 fi
 
 if [ "$guid_addr" ]; then
diff --git a/infiniband-diags/scripts/ibchecknode.in b/infiniband-diags/scripts/ibchecknode.in
index d70d5c8..9555513 100644
--- a/infiniband-diags/scripts/ibchecknode.in
+++ b/infiniband-diags/scripts/ibchecknode.in
@@ -75,7 +75,7 @@ if [ -z "$1" ]; then
 fi
 
 if [ "$suppress_deprecated" = "no" ]; then
-echo "*** WARNING ***: this command is deprecated; Please use \"smpquery nodeinfo\"\n\n" 1>&2
+echo -e "*** WARNING ***: this command is deprecated; Please use \"smpquery nodeinfo\"\n\n" 1>&2
 fi
 
 if [ "$guid_addr" ]; then
diff --git a/infiniband-diags/scripts/ibcheckport.in b/infiniband-diags/scripts/ibcheckport.in
index 16a8c24..a504c97 100644
--- a/infiniband-diags/scripts/ibcheckport.in
+++ b/infiniband-diags/scripts/ibcheckport.in
@@ -77,7 +77,7 @@ fi
 portnum=$2
 
 if [ "$suppress_deprecated" = "no" ]; then
-echo "*** WARNING ***: this command is deprecated\n\n" 1>&2
+echo -e "*** WARNING ***: this command is deprecated\n\n" 1>&2
 fi
 
 if [ "$guid_addr" ]; then
diff --git a/infiniband-diags/scripts/ibcheckportstate.in b/infiniband-diags/scripts/ibcheckportstate.in
index c5fb948..5482075 100644
--- a/infiniband-diags/scripts/ibcheckportstate.in
+++ b/infiniband-diags/scripts/ibcheckportstate.in
@@ -77,7 +77,7 @@ fi
 portnum=$2
 
 if [ "$suppress_deprecated" = "no" ]; then
-echo "*** WARNING ***: this command is deprecated\n\n" 1>&2
+echo -e "*** WARNING ***: this command is deprecated\n\n" 1>&2
 fi
 
 if [ "$guid_addr" ]; then
diff --git a/infiniband-diags/scripts/ibcheckportwidth.in b/infiniband-diags/scripts/ibcheckportwidth.in
index 9cfca11..eb79944 100644
--- a/infiniband-diags/scripts/ibcheckportwidth.in
+++ b/infiniband-diags/scripts/ibcheckportwidth.in
@@ -77,7 +77,7 @@ fi
 portnum=$2
 
 if [ "$suppress_deprecated" = "no" ]; then
-echo "*** WARNING ***: this command is deprecated\n\n" 1>&2
+echo -e "*** WARNING ***: this command is deprecated\n\n" 1>&2
 fi
 
 if [ "$guid_addr" ]; then
diff --git a/infiniband-diags/scripts/ibdatacounts.in b/infiniband-diags/scripts/ibdatacounts.in
index ac5f8c4..772b47f 100644
--- a/infiniband-diags/scripts/ibdatacounts.in
+++ b/infiniband-diags/scripts/ibdatacounts.in
@@ -113,7 +113,7 @@ fi
 nodename=`$IBPATH/smpquery $ca_info nodedesc $lid | sed -e "s/^Node Description:\.*\(.*\)/\1/"`
 
 if [ "$suppress_deprecated" = "no" ]; then
-echo "*** WARNING ***: this command is deprecated; Please use \"ibqueryerrors --counters\"\n\n" 1>&2
+echo -e "*** WARNING ***: this command is deprecated; Please use \"ibqueryerrors --counters\"\n\n" 1>&2
 fi
 
 text="`eval $IBPATH/perfquery $ca_info $lid $portnum`"
-- 
2.27.0

