mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 11:38:32 +02:00
Updated docs from master
This commit is contained in:
parent
71f10b2bf8
commit
4acc36efa9
19 changed files with 16 additions and 30 deletions
|
@ -27,14 +27,12 @@ To get a short summary of the 10 most recent, favourited entries before January
|
||||||
Statistics
|
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.
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
|
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,15 +60,11 @@
|
||||||
<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>
|
||||||
<dl class="docutils">
|
<div class="highlight-python"><pre>jrnl -from "jan 1 2013" -until "dec 31 2013" | wc -w</pre>
|
||||||
<dt>::</dt>
|
</div>
|
||||||
<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>
|
||||||
<dl class="docutils">
|
<div class="highlight-python"><pre>expr $(jrnl --export text | wc -w) / $(jrnl --short | wc -l)</pre>
|
||||||
<dt>::</dt>
|
</div>
|
||||||
<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
|
@ -27,14 +27,12 @@ To get a short summary of the 10 most recent, favourited entries before January
|
||||||
Statistics
|
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,15 +60,11 @@
|
||||||
<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>
|
||||||
<dl class="docutils">
|
<div class="highlight-python"><pre>jrnl -from "jan 1 2013" -until "dec 31 2013" | wc -w</pre>
|
||||||
<dt>::</dt>
|
</div>
|
||||||
<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>
|
||||||
<dl class="docutils">
|
<div class="highlight-python"><pre>expr $(jrnl --export text | wc -w) / $(jrnl --short | wc -l)</pre>
|
||||||
<dt>::</dt>
|
</div>
|
||||||
<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