mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 03:28:31 +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?
|
How much did I write last year?
|
||||||
|
|
||||||
|
::
|
||||||
jrnl -from "jan 1 2013" -until "dec 31 2013" | wc -w
|
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)
|
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).
|
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).
|
||||||
|
|
BIN
docs/_build/doctrees/environment.pickle
vendored
BIN
docs/_build/doctrees/environment.pickle
vendored
Binary file not shown.
BIN
docs/_build/doctrees/recipes.doctree
vendored
BIN
docs/_build/doctrees/recipes.doctree
vendored
Binary file not shown.
BIN
docs/_build/doctrees/usage.doctree
vendored
BIN
docs/_build/doctrees/usage.doctree
vendored
Binary file not shown.
2
docs/_build/html/_sources/recipes.txt
vendored
2
docs/_build/html/_sources/recipes.txt
vendored
|
@ -29,10 +29,12 @@ 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
|
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)
|
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).
|
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).
|
||||||
|
|
BIN
docs/_build/html/objects.inv
vendored
BIN
docs/_build/html/objects.inv
vendored
Binary file not shown.
12
docs/_build/html/recipes.html
vendored
12
docs/_build/html/recipes.html
vendored
|
@ -60,11 +60,15 @@
|
||||||
<div class="section" id="statistics">
|
<div class="section" id="statistics">
|
||||||
<h3>Statistics<a class="headerlink" href="#statistics" title="Permalink to this headline">¶</a></h3>
|
<h3>Statistics<a class="headerlink" href="#statistics" title="Permalink to this headline">¶</a></h3>
|
||||||
<p>How much did I write last year?</p>
|
<p>How much did I write last year?</p>
|
||||||
<blockquote>
|
<dl class="docutils">
|
||||||
<div>jrnl -from “jan 1 2013” -until “dec 31 2013” | wc -w</div></blockquote>
|
<dt>::</dt>
|
||||||
|
<dd>jrnl -from “jan 1 2013” -until “dec 31 2013” | wc -w</dd>
|
||||||
|
</dl>
|
||||||
<p>Will give you the number of words you wrote in 2013. How long is my average entry?</p>
|
<p>Will give you the number of words you wrote in 2013. How long is my average entry?</p>
|
||||||
<blockquote>
|
<dl class="docutils">
|
||||||
<div>expr $(jrnl –export text | wc -w) / $(jrnl –short | wc -l)</div></blockquote>
|
<dt>::</dt>
|
||||||
|
<dd>expr $(jrnl –export text | wc -w) / $(jrnl –short | wc -l)</dd>
|
||||||
|
</dl>
|
||||||
<p>This will first get the total number of words in the journal and divide it by the number of entries (this works because <tt class="docutils literal"><span class="pre">jrnl</span> <span class="pre">--short</span></tt> will print exactly one line per entry).</p>
|
<p>This will first get the total number of words in the journal and divide it by the number of entries (this works because <tt class="docutils literal"><span class="pre">jrnl</span> <span class="pre">--short</span></tt> will print exactly one line per entry).</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
2
docs/_build/html/searchindex.js
vendored
2
docs/_build/html/searchindex.js
vendored
File diff suppressed because one or more lines are too long
|
@ -29,10 +29,12 @@ 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
|
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)
|
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).
|
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).
|
||||||
|
|
BIN
jrnl/Entry.pyc
BIN
jrnl/Entry.pyc
Binary file not shown.
BIN
jrnl/Journal.pyc
BIN
jrnl/Journal.pyc
Binary file not shown.
Binary file not shown.
BIN
jrnl/cli.pyc
BIN
jrnl/cli.pyc
Binary file not shown.
Binary file not shown.
BIN
jrnl/install.pyc
BIN
jrnl/install.pyc
Binary file not shown.
BIN
jrnl/util.pyc
BIN
jrnl/util.pyc
Binary file not shown.
BIN
objects.inv
BIN
objects.inv
Binary file not shown.
12
recipes.html
12
recipes.html
|
@ -60,11 +60,15 @@
|
||||||
<div class="section" id="statistics">
|
<div class="section" id="statistics">
|
||||||
<h3>Statistics<a class="headerlink" href="#statistics" title="Permalink to this headline">¶</a></h3>
|
<h3>Statistics<a class="headerlink" href="#statistics" title="Permalink to this headline">¶</a></h3>
|
||||||
<p>How much did I write last year?</p>
|
<p>How much did I write last year?</p>
|
||||||
<blockquote>
|
<dl class="docutils">
|
||||||
<div>jrnl -from “jan 1 2013” -until “dec 31 2013” | wc -w</div></blockquote>
|
<dt>::</dt>
|
||||||
|
<dd>jrnl -from “jan 1 2013” -until “dec 31 2013” | wc -w</dd>
|
||||||
|
</dl>
|
||||||
<p>Will give you the number of words you wrote in 2013. How long is my average entry?</p>
|
<p>Will give you the number of words you wrote in 2013. How long is my average entry?</p>
|
||||||
<blockquote>
|
<dl class="docutils">
|
||||||
<div>expr $(jrnl –export text | wc -w) / $(jrnl –short | wc -l)</div></blockquote>
|
<dt>::</dt>
|
||||||
|
<dd>expr $(jrnl –export text | wc -w) / $(jrnl –short | wc -l)</dd>
|
||||||
|
</dl>
|
||||||
<p>This will first get the total number of words in the journal and divide it by the number of entries (this works because <tt class="docutils literal"><span class="pre">jrnl</span> <span class="pre">--short</span></tt> will print exactly one line per entry).</p>
|
<p>This will first get the total number of words in the journal and divide it by the number of entries (this works because <tt class="docutils literal"><span class="pre">jrnl</span> <span class="pre">--short</span></tt> will print exactly one line per entry).</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue