summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2018-03-13 07:09:44 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2018-03-13 07:15:43 +0100
commitf853096ac0246a493cda7dfd07eaaf58ed9f4e90 (patch)
treefb3dc45a3cd00cb0b727fcb738e094b6d3695039
parentdbaa369b02a1acdb29a39267a76e9ae37893ddc7 (diff)
downloadmemory-leaks-f853096ac0246a493cda7dfd07eaaf58ed9f4e90.tar.xz
Touch up intro and tweak word counting script
(It's *critical* that I get the imaginary file hierarchy right before I actually commit those notes, you see) Make sure update-count.sh only looks at committed files; there's going to be a lot of untracked files in there. Maybe I could add a "possibly lost" count for those?
-rw-r--r--index.md16
-rwxr-xr-xupdate-count.sh2
2 files changed, 9 insertions, 9 deletions
diff --git a/index.md b/index.md
index 5ec448d..dffbb9d 100644
--- a/index.md
+++ b/index.md
@@ -1,5 +1,5 @@
# Peniblec's Memory Leaks
-## still reachable: 244 words in 2 pages
+## still reachable: 0 words in 0 pages
Hi! I am a software engineer interested in [a bunch of things].
@@ -12,10 +12,10 @@ This is the somewhere.
Also I'd like to join the [blogging bandwagon] someday, and maybe
publishing this stuff is a good first step; in practice though I don't
-have anything interesting to talk about. `$DAYJOB` is as
-closed-source as it gets; I did send a few trivial patches to some
-free-software projects, and I have an ever-growing [list of itches] I
-intend to scratch someday, but they're not exactly noteworthy.
+have much to say. `$DAYJOB` is as closed-source as it gets; I did
+send a few trivial patches to some free-software projects, and I have
+an ever-growing [list of itches] I intend to scratch someday, but
+they're not exactly noteworthy.
I find it tough to cook up meaningful patches while desperately
[trying to keep up with my industry], [screwing around with my
@@ -27,9 +27,9 @@ Also I like to read and watch and play [lots of silly shit].
And I guess that just about wraps up this joke of an introduction.
-[a bunch of stuff]: cv.md
+[a bunch of stuff]: personal/cv.md
[blogging bandwagon]: reviews/blog-roll.md
-[list of itches]: todos/itches.md
+[list of itches]: personal/itches.md
[trying to keep up with my industry]: reviews/technical/index.md
-[screwing around with my computers]: admin/setups.md
+[screwing around with my computers]: personal/setups.md
[lots of silly shit]: reviews/entertainment.md
diff --git a/update-count.sh b/update-count.sh
index abc8d42..c59daf8 100755
--- a/update-count.sh
+++ b/update-count.sh
@@ -14,7 +14,7 @@ count-leaks ()
echo ${words} ${pages}
}
-read words pages < <(find . -name '*.md' | count-leaks)
+read words pages < <(git ls-files '*.md' | count-leaks)
pattern="\([0-9]*\) words in \([0-9]*\) pages"
actual="${words} words in ${pages} pages"