From 4caa55cb3cd39e8951d100ea0a17d5f939ba70d5 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Thu, 20 Feb 2020 14:03:41 -0500 Subject: [PATCH] addressed extra spaces from mac wc cmd --- scripts/agenda/info_overload_report.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/agenda/info_overload_report.sh b/scripts/agenda/info_overload_report.sh index b4ad7388..e6b63b2f 100644 --- a/scripts/agenda/info_overload_report.sh +++ b/scripts/agenda/info_overload_report.sh @@ -32,7 +32,7 @@ function calculate_weight() function calculate_complexity() { local dir="$1"; shift - local complexity=$(find "$dir" -type d | wc -l) + local complexity=$(find "$dir" -type d | wc -l | tr -d ' ') if [ -z "$complexity" ]; then echo 0; else echo "$complexity"; fi } -- 2.34.1