mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-07 16:56:13 +02:00
Updated docs from master
This commit is contained in:
parent
71f10b2bf8
commit
4acc36efa9
19 changed files with 16 additions and 30 deletions
6
docs/_build/html/_sources/recipes.txt
vendored
6
docs/_build/html/_sources/recipes.txt
vendored
|
@ -27,14 +27,12 @@ To get a short summary of the 10 most recent, favourited entries before January
|
|||
Statistics
|
||||
~~~~~~~~~~
|
||||
|
||||
How much did I write last year?
|
||||
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?
|
||||
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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue