X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fnotes%2Finfo_overload_report.sh;h=72a341e6150f13e4bfd7ba3d062ee7c1178109fa;hb=75571460ee09e61d46af0d65f63a8047aef215e6;hp=241c3a7a515f43d055591886742cdce3dd203b31;hpb=5b6c727727e1b7bae3bd54260a3995df3f37a14b;p=feisty_meow.git diff --git a/scripts/notes/info_overload_report.sh b/scripts/notes/info_overload_report.sh index 241c3a7a..72a341e6 100644 --- a/scripts/notes/info_overload_report.sh +++ b/scripts/notes/info_overload_report.sh @@ -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\ ##############"