From 1f292a17334a52f16159f7538a9e226c7e6fdcc2 Mon Sep 17 00:00:00 2001 From: "Helmut K. C. Tessarek" Date: Sun, 7 Jul 2019 20:40:15 -0400 Subject: [PATCH] info-n -> info_n --- jnclnst | 4 ++-- jnrmor | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jnclnst b/jnclnst index a089e16..51f133a 100755 --- a/jnclnst +++ b/jnclnst @@ -189,7 +189,7 @@ function info { fi } -function info-n { +function info_n { if [ "$qflag" != "1" ]; then echo -n "$@" fi @@ -279,7 +279,7 @@ do if [ ${VALID[$f]+_} ]; then info "Keeping resource id: $f" else - info-n "Deleting resource id: $f" + info_n "Deleting resource id: $f" if [ "$nflag" == "0" ]; then echo $f >>$DELETE_RESOURCES unlink $f diff --git a/jnrmor b/jnrmor index 5ef22a2..0cd814f 100755 --- a/jnrmor +++ b/jnrmor @@ -163,7 +163,7 @@ function info { fi } -function info-n { +function info_n { if [ "$qflag" != "1" ]; then echo -n "$1" fi @@ -245,7 +245,7 @@ do curlCMD="curl -s -X DELETE http://localhost:${CLIPPER_PORT}/resources/${id}?token=${CLIPPER_TOKEN}" debug "$curlCMD" infotext="Deleting resource id: $id" - info-n "$infotext" + info_n "$infotext" if [ "$nflag" == "0" ]; then # Delete ID rc="" @@ -261,7 +261,7 @@ do echo -n " - $rc" fi else - info-n " - Success" + info_n " - Success" fi fi