mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-03 23:16:14 +02:00
Updated docs from master
This commit is contained in:
parent
492bc3a5b4
commit
71f10b2bf8
19 changed files with 24 additions and 10 deletions
|
@ -29,10 +29,12 @@ 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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue