projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
example startup script, updated conf.
[feisty_meow.git]
/
scripts
/
notes
/
info_overload_report.sh
diff --git
a/scripts/notes/info_overload_report.sh
b/scripts/notes/info_overload_report.sh
index 241c3a7a515f43d055591886742cdce3dd203b31..72a341e6150f13e4bfd7ba3d062ee7c1178109fa 100644
(file)
--- 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
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.
}
# 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\
# start out the report with a header.
full_report="\
\n\
-
C
urrent information overload consists of:\n\
+
c
urrent information overload consists of:\n\
\n\
"
\n\
"
-full_report+="count\t
weight (kb)\tcomplexity
\tcategory\n\
+full_report+="count\t
complexity\tweight (kb)
\tcategory\n\
================================================================\n\
"
================================================================\n\
"
@@
-127,7
+127,7
@@
analyze_hierarchy_and_report ~/cloud/reading "reading list"
full_report+="================================================================\n\
"
full_report+="================================================================\n\
"
-full_report+="$(format_report_line "$total_overload" "$total_weight" "$total_complexity" "
Total O
verload")"
+full_report+="$(format_report_line "$total_overload" "$total_weight" "$total_complexity" "
total o
verload")"
full_report+="\n\
[gathered on $(date)]\n\n\
##############"
full_report+="\n\
[gathered on $(date)]\n\n\
##############"