addressed extra spaces from mac wc cmd
[feisty_meow.git] / scripts / agenda / info_overload_report.sh
index b4ad7388d9d83bb9bcc178c0cb4d9c557a3b0046..e6b63b2fcdc4f28475ab0f7585583bd8b44cbdda 100644 (file)
@@ -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
 }