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.134~28^2~12 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=19d36f66faafd0dcf3ddb06ee9012668376d8021;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 }