diff --git a/_sources/recipes.txt b/_sources/recipes.txt index 253392b9..29c83360 100644 --- a/_sources/recipes.txt +++ b/_sources/recipes.txt @@ -24,6 +24,19 @@ You can do things like :: To get a short summary of the 10 most recent, favourited entries before January 1, 2013 that are tagged with ``@fixed``. +Statistics +~~~~~~~~~~ + +How much did I write last year? + + jrnl -from "jan 1 2013" -until "dec 31 2013" | wc -w + +Will give you the number of words you wrote in 2013. How long is my average entry? + + expr $(jrnl --export text | wc -w) / $(jrnl --short | wc -l) + +This will first get the total number of words in the journal and divide it by the number of entries (this works because ``jrnl --short`` will print exactly one line per entry). + External editors ---------------- diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle index 60f4de10..86a5097e 100644 Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ diff --git a/docs/_build/doctrees/export.doctree b/docs/_build/doctrees/export.doctree index 2d157334..ade2fef6 100644 Binary files a/docs/_build/doctrees/export.doctree and b/docs/_build/doctrees/export.doctree differ diff --git a/docs/_build/doctrees/recipes.doctree b/docs/_build/doctrees/recipes.doctree index e7782504..835cd15f 100644 Binary files a/docs/_build/doctrees/recipes.doctree and b/docs/_build/doctrees/recipes.doctree differ diff --git a/docs/_build/html/_sources/recipes.txt b/docs/_build/html/_sources/recipes.txt index 253392b9..29c83360 100644 --- a/docs/_build/html/_sources/recipes.txt +++ b/docs/_build/html/_sources/recipes.txt @@ -24,6 +24,19 @@ You can do things like :: To get a short summary of the 10 most recent, favourited entries before January 1, 2013 that are tagged with ``@fixed``. +Statistics +~~~~~~~~~~ + +How much did I write last year? + + jrnl -from "jan 1 2013" -until "dec 31 2013" | wc -w + +Will give you the number of words you wrote in 2013. How long is my average entry? + + expr $(jrnl --export text | wc -w) / $(jrnl --short | wc -l) + +This will first get the total number of words in the journal and divide it by the number of entries (this works because ``jrnl --short`` will print exactly one line per entry). + External editors ---------------- diff --git a/docs/_build/html/objects.inv b/docs/_build/html/objects.inv index 42581a2f..749bb5e2 100644 Binary files a/docs/_build/html/objects.inv and b/docs/_build/html/objects.inv differ diff --git a/docs/_build/html/recipes.html b/docs/_build/html/recipes.html index 460cf6a3..686c1481 100644 --- a/docs/_build/html/recipes.html +++ b/docs/_build/html/recipes.html @@ -57,6 +57,16 @@

To get a short summary of the 10 most recent, favourited entries before January 1, 2013 that are tagged with @fixed.

+
+

Statistics

+

How much did I write last year?

+
+
jrnl -from “jan 1 2013” -until “dec 31 2013” | wc -w
+

Will give you the number of words you wrote in 2013. How long is my average entry?

+
+
expr $(jrnl –export text | wc -w) / $(jrnl –short | wc -l)
+

This will first get the total number of words in the journal and divide it by the number of entries (this works because jrnl --short will print exactly one line per entry).

+

External editors

@@ -113,6 +123,7 @@
  • Recipes
  • External editors
  • To get a short summary of the 10 most recent, favourited entries before January 1, 2013 that are tagged with @fixed.

    +
    +

    Statistics

    +

    How much did I write last year?

    +
    +
    jrnl -from “jan 1 2013” -until “dec 31 2013” | wc -w
    +

    Will give you the number of words you wrote in 2013. How long is my average entry?

    +
    +
    expr $(jrnl –export text | wc -w) / $(jrnl –short | wc -l)
    +

    This will first get the total number of words in the journal and divide it by the number of entries (this works because jrnl --short will print exactly one line per entry).

    +

    External editors

    @@ -113,6 +123,7 @@
  • Recipes
  • External editors