Skip to content

Commit 8189d07

Browse files
updated couple of posts
1 parent 7853d46 commit 8189d07

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

atom.xml

+4-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<link href="https://learnbyexample.github.io/atom.xml" rel="self" type="application/atom+xml"/>
66
<link href="https://learnbyexample.github.io"/>
77
<generator uri="https://www.getzola.org/">Zola</generator>
8-
<updated>2024-08-20T00:00:00+00:00</updated>
8+
<updated>2024-08-21T00:00:00+00:00</updated>
99
<id>https://learnbyexample.github.io/atom.xml</id>
1010
<entry xml:lang="en">
1111
<title>Vim Reference Guide book announcement</title>
@@ -316,11 +316,10 @@
316316
<entry xml:lang="en">
317317
<title>CLI computation with GNU datamash</title>
318318
<published>2024-04-09T00:00:00+00:00</published>
319-
<updated>2024-07-03T00:00:00+00:00</updated>
319+
<updated>2024-08-21T00:00:00+00:00</updated>
320320
<link rel="alternate" href="https://learnbyexample.github.io/cli-computation-gnu-datamash/" type="text/html"/>
321321
<id>https://learnbyexample.github.io/cli-computation-gnu-datamash/</id>
322-
<content type="html">&lt;p&gt;&lt;img src=&quot;&#x2F;images&#x2F;info.svg&quot; alt=&quot;info&quot; &#x2F;&gt; &lt;img src=&quot;&#x2F;images&#x2F;warning.svg&quot; alt=&quot;warning&quot; &#x2F;&gt; This is a work-in-progress post on the &lt;code&gt;GNU datamash&lt;&#x2F;code&gt; command.&lt;&#x2F;p&gt;
323-
&lt;p&gt;I&#x27;m hoping this post will serve as a quick reference for some of the use cases and tickle your curiosity if you haven&#x27;t come across this nifty CLI tool yet. I&#x27;ll also post some links for further reading.&lt;&#x2F;p&gt;
322+
<content type="html">&lt;p&gt;I&#x27;m hoping this post will serve as a quick reference for some of the use cases and tickle your curiosity if you haven&#x27;t come across this nifty CLI text processing tool yet. There are also links for further reading at the end.&lt;&#x2F;p&gt;
324323
&lt;span id=&quot;continue-reading&quot;&gt;&lt;&#x2F;span&gt;&lt;br&gt;
325324
&lt;h2 id=&quot;installation-and-documentation&quot;&gt;Installation and Documentation&lt;a class=&quot;zola-anchor&quot; href=&quot;#installation-and-documentation&quot; aria-label=&quot;Anchor link for: installation-and-documentation&quot;&gt;🔗&lt;&#x2F;a&gt;&lt;&#x2F;h2&gt;
326325
&lt;p&gt;See &lt;a href=&quot;https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;datamash&#x2F;download&#x2F;&quot;&gt;download&lt;&#x2F;a&gt; page for source code and instructions to install the software on various platforms. This blog post is based on the &lt;strong&gt;1.8&lt;&#x2F;strong&gt; version.&lt;&#x2F;p&gt;
@@ -7034,7 +7033,7 @@ Specifying a greater than &lt;code&gt;0&lt;&#x2F;code&gt; start index when using
70347033
<id>https://learnbyexample.github.io/mini/vim-prank/</id>
70357034
<content type="html">&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;&#x2F;images&#x2F;vim_prank.png&quot; alt=&quot;Vim Prank&quot; &#x2F;&gt;&lt;&#x2F;p&gt;
70367035
&lt;p align=&quot;center&quot;&gt;&lt;i&gt;Poster created using &lt;a href=&quot;https:&#x2F;&#x2F;www.canva.com&#x2F;&quot;&gt;Canva&lt;&#x2F;a&gt;&lt;&#x2F;i&gt;&lt;&#x2F;p&gt;&lt;br&gt;
7037-
&lt;p&gt;While going through &lt;a href=&quot;https:&#x2F;&#x2F;vimhelp.org&#x2F;starting.txt.html#vim-arguments&quot;&gt;:h vim-arguments&lt;&#x2F;a&gt; for my &lt;a href=&quot;https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;vim_reference&quot;&gt;Vim reference guide&lt;&#x2F;a&gt; ebook, I came across the &lt;code&gt;-y&lt;&#x2F;code&gt; option:&lt;&#x2F;p&gt;
7036+
&lt;p&gt;While going through &lt;a href=&quot;https:&#x2F;&#x2F;vimhelp.org&#x2F;starting.txt.html#vim-arguments&quot;&gt;:h vim-arguments&lt;&#x2F;a&gt; for my &lt;a href=&quot;https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;vim_reference&quot;&gt;Vim Reference Guide&lt;&#x2F;a&gt; ebook, I came across the &lt;code&gt;-y&lt;&#x2F;code&gt; option:&lt;&#x2F;p&gt;
70387037
&lt;blockquote&gt;
70397038
&lt;p&gt;Easy mode. Implied for &lt;code&gt;evim&lt;&#x2F;code&gt; and &lt;code&gt;eview&lt;&#x2F;code&gt;. Starts with &lt;code&gt;&#x27;insertmode&#x27;&lt;&#x2F;code&gt; set and behaves like a click-and-type editor. This sources the script $VIMRUNTIME&#x2F;evim.vim. Mappings are set up to work like most click-and-type editors, see &lt;code&gt;evim-keys&lt;&#x2F;code&gt;. The GUI is started when available.&lt;&#x2F;p&gt;
70407039
&lt;&#x2F;blockquote&gt;

cli-computation-gnu-datamash/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!doctype html><html lang=en><head><meta content="IE=edge" http-equiv=X-UA-Compatible><meta content="text/html; charset=utf-8" http-equiv=content-type><meta content="width=device-width,initial-scale=1.0,maximum-scale=1" name=viewport><title>CLI computation with GNU datamash</title><link href=https://learnbyexample.github.io/atom.xml rel=alternate title=RSS type=application/atom+xml><script src=https://cdnjs.cloudflare.com/ajax/libs/slideout/1.0.1/slideout.min.js></script><link href=https://learnbyexample.github.io/site.css rel=stylesheet><meta content="CLI computation with GNU datamash" property=og:title><meta content=website property=og:type><meta content="Examples and resource links for the GNU datamash command." property=og:description><meta content=https://learnbyexample.github.io/cli-computation-gnu-datamash/ property=og:url><meta content=@learn_byexample property=twitter:site><link href=https://learnbyexample.github.io/favicon.svg rel=icon><link rel="shortcut icon" href=https://learnbyexample.github.io/favicon.png><body><div class=container><div class=mobile-navbar id=mobile-navbar><div class=mobile-header-logo><a class=logo href=/>learnbyexample</a></div><div class="mobile-navbar-icon icon-out"><span></span><span></span><span></span></div></div><nav class="mobile-menu slideout-menu slideout-menu-left" id=mobile-menu><ul class=mobile-menu-list><li class=mobile-menu-item><a href=https://learnbyexample.github.io/books> Books </a><li class=mobile-menu-item><a href=https://learnbyexample.github.io/mini> Mini </a><li class=mobile-menu-item><a href=https://learnbyexample.github.io/tips> Tips </a><li class=mobile-menu-item><a href=https://learnbyexample.github.io/tags> Tags </a><li class=mobile-menu-item><a href=https://learnbyexample.github.io/about> About </a></ul></nav><header id=header><div class=logo><a href=https://learnbyexample.github.io>learnbyexample</a></div><nav class=menu><ul><li><a href=https://learnbyexample.github.io/books> Books </a><li><a href=https://learnbyexample.github.io/mini> Mini </a><li><a href=https://learnbyexample.github.io/tips> Tips </a><li><a href=https://learnbyexample.github.io/tags> Tags </a><li><a href=https://learnbyexample.github.io/about> About </a></ul></nav></header><main><div class=content id=mobile-panel><div class=post-toc id=post-toc><h2 class=post-toc-title>Contents</h2><div class="post-toc-content always-active"><nav id=TableOfContents><ul><li><a class=toc-link href=https://learnbyexample.github.io/cli-computation-gnu-datamash/#installation-and-documentation>Installation and Documentation</a><li><a class=toc-link href=https://learnbyexample.github.io/cli-computation-gnu-datamash/#sum>Sum</a><li><a class=toc-link href=https://learnbyexample.github.io/cli-computation-gnu-datamash/#transpose>Transpose</a><li><a class=toc-link href=https://learnbyexample.github.io/cli-computation-gnu-datamash/#group-by>Group by</a><li><a class=toc-link href=https://learnbyexample.github.io/cli-computation-gnu-datamash/#further-reading>Further Reading</a></ul></nav></div></div><article class=post><header class=post__header><h1 class=post__title><a href=https://learnbyexample.github.io/cli-computation-gnu-datamash/>CLI computation with GNU datamash</a></h1><div class=post__meta><span class=post__time>2024-04-09</span></div></header><div class=post-content><p><img alt=info src=/images/info.svg> <img alt=warning src=/images/warning.svg> This is a work-in-progress post on the <code>GNU datamash</code> command.<p>I'm hoping this post will serve as a quick reference for some of the use cases and tickle your curiosity if you haven't come across this nifty CLI tool yet. I'll also post some links for further reading.</p><span id=continue-reading></span><br><h2 id=installation-and-documentation>Installation and Documentation<a aria-label="Anchor link for: installation-and-documentation" class=zola-anchor href=#installation-and-documentation>🔗</a></h2><p>See <a href=https://www.gnu.org/software/datamash/download/>download</a> page for source code and instructions to install the software on various platforms. This blog post is based on the <strong>1.8</strong> version.<p>See <a href=https://www.gnu.org/software/datamash/manual/>datamash manual</a> for links to documentation in HTML, plain text, PDF, etc.</p><br><h2 id=sum>Sum<a aria-label="Anchor link for: sum" class=zola-anchor href=#sum>🔗</a></h2><pre class=language-ruby data-lang=ruby style=background-color:#f5f5f5;color:#1f1f1f;><code class=language-ruby data-lang=ruby><span style=color:#7f8989;># file with a single number per line
1+
<!doctype html><html lang=en><head><meta content="IE=edge" http-equiv=X-UA-Compatible><meta content="text/html; charset=utf-8" http-equiv=content-type><meta content="width=device-width,initial-scale=1.0,maximum-scale=1" name=viewport><title>CLI computation with GNU datamash</title><link href=https://learnbyexample.github.io/atom.xml rel=alternate title=RSS type=application/atom+xml><script src=https://cdnjs.cloudflare.com/ajax/libs/slideout/1.0.1/slideout.min.js></script><link href=https://learnbyexample.github.io/site.css rel=stylesheet><meta content="CLI computation with GNU datamash" property=og:title><meta content=website property=og:type><meta content="Examples and resource links for the GNU datamash command." property=og:description><meta content=https://learnbyexample.github.io/cli-computation-gnu-datamash/ property=og:url><meta content=@learn_byexample property=twitter:site><link href=https://learnbyexample.github.io/favicon.svg rel=icon><link rel="shortcut icon" href=https://learnbyexample.github.io/favicon.png><body><div class=container><div class=mobile-navbar id=mobile-navbar><div class=mobile-header-logo><a class=logo href=/>learnbyexample</a></div><div class="mobile-navbar-icon icon-out"><span></span><span></span><span></span></div></div><nav class="mobile-menu slideout-menu slideout-menu-left" id=mobile-menu><ul class=mobile-menu-list><li class=mobile-menu-item><a href=https://learnbyexample.github.io/books> Books </a><li class=mobile-menu-item><a href=https://learnbyexample.github.io/mini> Mini </a><li class=mobile-menu-item><a href=https://learnbyexample.github.io/tips> Tips </a><li class=mobile-menu-item><a href=https://learnbyexample.github.io/tags> Tags </a><li class=mobile-menu-item><a href=https://learnbyexample.github.io/about> About </a></ul></nav><header id=header><div class=logo><a href=https://learnbyexample.github.io>learnbyexample</a></div><nav class=menu><ul><li><a href=https://learnbyexample.github.io/books> Books </a><li><a href=https://learnbyexample.github.io/mini> Mini </a><li><a href=https://learnbyexample.github.io/tips> Tips </a><li><a href=https://learnbyexample.github.io/tags> Tags </a><li><a href=https://learnbyexample.github.io/about> About </a></ul></nav></header><main><div class=content id=mobile-panel><div class=post-toc id=post-toc><h2 class=post-toc-title>Contents</h2><div class="post-toc-content always-active"><nav id=TableOfContents><ul><li><a class=toc-link href=https://learnbyexample.github.io/cli-computation-gnu-datamash/#installation-and-documentation>Installation and Documentation</a><li><a class=toc-link href=https://learnbyexample.github.io/cli-computation-gnu-datamash/#sum>Sum</a><li><a class=toc-link href=https://learnbyexample.github.io/cli-computation-gnu-datamash/#transpose>Transpose</a><li><a class=toc-link href=https://learnbyexample.github.io/cli-computation-gnu-datamash/#group-by>Group by</a><li><a class=toc-link href=https://learnbyexample.github.io/cli-computation-gnu-datamash/#further-reading>Further Reading</a></ul></nav></div></div><article class=post><header class=post__header><h1 class=post__title><a href=https://learnbyexample.github.io/cli-computation-gnu-datamash/>CLI computation with GNU datamash</a></h1><div class=post__meta><span class=post__time>2024-04-09</span></div></header><div class=post-content><p>I'm hoping this post will serve as a quick reference for some of the use cases and tickle your curiosity if you haven't come across this nifty CLI text processing tool yet. There are also links for further reading at the end.</p><span id=continue-reading></span><br><h2 id=installation-and-documentation>Installation and Documentation<a aria-label="Anchor link for: installation-and-documentation" class=zola-anchor href=#installation-and-documentation>🔗</a></h2><p>See <a href=https://www.gnu.org/software/datamash/download/>download</a> page for source code and instructions to install the software on various platforms. This blog post is based on the <strong>1.8</strong> version.<p>See <a href=https://www.gnu.org/software/datamash/manual/>datamash manual</a> for links to documentation in HTML, plain text, PDF, etc.</p><br><h2 id=sum>Sum<a aria-label="Anchor link for: sum" class=zola-anchor href=#sum>🔗</a></h2><pre class=language-ruby data-lang=ruby style=background-color:#f5f5f5;color:#1f1f1f;><code class=language-ruby data-lang=ruby><span style=color:#7f8989;># file with a single number per line
22
</span><span>$ cat nums.txt
33
</span><span style=color:#b3933a;>42
44
</span><span style=color:#72ab00;>-</span><span style=color:#b3933a;>2

0 commit comments

Comments
 (0)