projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
01201c8
)
smooved up the info overload by having it find html to-do items too.
author
Chris Koeritz
<fred@gruntose.com>
Sun, 11 Mar 2012 19:11:13 +0000
(15:11 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sun, 11 Mar 2012 19:11:13 +0000
(15:11 -0400)
scripts/notes/info_overload_report.sh
patch
|
blob
|
history
diff --git
a/scripts/notes/info_overload_report.sh
b/scripts/notes/info_overload_report.sh
index 46901db55e33eaf724506bb8eaf6e4dc13c21b79..d4ce6165760a94beafbe8277a903032b7eb04c09 100644
(file)
--- a/
scripts/notes/info_overload_report.sh
+++ b/
scripts/notes/info_overload_report.sh
@@
-6,6
+6,9
@@
REPORT_FILE="$HOME/quartz/history_info_overload.txt"
# notes are individual files of tasks, usually, although some are combined.
note_depth=$(find ~/quartz/grunty_notes/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | wc -l)
# notes are individual files of tasks, usually, although some are combined.
note_depth=$(find ~/quartz/grunty_notes/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | wc -l)
+# the list files are web documents with to-do lists. individual items are marked with <li>.
+item_depth=$(find ~/quartz/grunty_notes/ -type f -iname "*.html" -exec grep "<li" "{}" ';' | wc -l)
+
# projects are slightly more productive, ongoing things that are very active.
project_depth=$(find ~/quartz/projects/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | wc -l)
# projects are slightly more productive, ongoing things that are very active.
project_depth=$(find ~/quartz/projects/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | wc -l)
@@
-13,17
+16,13
@@
project_depth=$(find ~/quartz/projects/ -type f -exec echo \"{}\" ';' | grep -v
# supposed to pile up here.
source_example_depth=$(find ~/quartz/example_source_code/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | wc -l)
# supposed to pile up here.
source_example_depth=$(find ~/quartz/example_source_code/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | wc -l)
-
-#hmmm: need the counter of things in the html files back too.
-# those are doc'd in the notes about refactoring notes?
-
-total_overload=$(($note_depth + $project_depth + $source_example_depth))
-#hmmm: don't forget to add others.
+total_overload=$(($note_depth + $item_depth + $project_depth + $source_example_depth))
report="\
\n\
We have studied your information overload and find that there are:\n\
$note_depth note files\n\
report="\
\n\
We have studied your information overload and find that there are:\n\
$note_depth note files\n\
+ $item_depth to-do list items\n\
$project_depth project files\n\
$source_example_depth source examples\n\
-------\n\
$project_depth project files\n\
$source_example_depth source examples\n\
-------\n\