nicer printout.
[feisty_meow.git] / scripts / notes / info_overload_report.sh
index 241c3a7a515f43d055591886742cdce3dd203b31..72a341e6150f13e4bfd7ba3d062ee7c1178109fa 100644 (file)
@@ -39,7 +39,7 @@ function format_report_line()
   local weight="$1"; shift
   weight=$((weight / 1024))
   local complexity="$1"; shift
-  echo "$count\t${weight}\t\t${complexity}\t\t$*\n"
+  echo "$count\t${complexity}\t\t${weight}\t\t$*\n"
 }
 
 # two parameters are needed: the directory to sum up and the label to use for it in the report.
@@ -91,10 +91,10 @@ total_weight=0
 # start out the report with a header.
 full_report="\
 \n\
-Current information overload consists of:\n\
+current information overload consists of:\n\
 \n\
 "
-full_report+="count\tweight (kb)\tcomplexity\tcategory\n\
+full_report+="count\tcomplexity\tweight (kb)\tcategory\n\
 ================================================================\n\
 "
 
@@ -127,7 +127,7 @@ analyze_hierarchy_and_report ~/cloud/reading "reading list"
 
 full_report+="================================================================\n\
 "
-full_report+="$(format_report_line "$total_overload" "$total_weight" "$total_complexity" "Total Overload")"
+full_report+="$(format_report_line "$total_overload" "$total_weight" "$total_complexity" "total overload")"
 full_report+="\n\
 [gathered on $(date)]\n\n\
 ##############"