From: Chris Koeritz Date: Thu, 20 Feb 2020 19:03:41 +0000 (-0500) Subject: addressed extra spaces from mac wc cmd X-Git-Tag: 2.140.117^2~12 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=4caa55cb3cd39e8951d100ea0a17d5f939ba70d5;p=feisty_meow.git addressed extra spaces from mac wc cmd --- 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 }