You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>I am pleased to announce a new version of my <strong>Ruby One-Liners Guide</strong> ebook. Examples, exercises, solutions, descriptions and external links were added/updated/corrected.</p>
18
+
<p>When it comes to command line text processing, there are several well known tools like <code>grep</code> for filtering, <code>sed</code> for substitution and <code>awk</code> for field processing. Compared to such tools, <strong>Ruby has a feature rich regular expression engine, plenty of builtin modules and a thriving ecosystem</strong>. Another advantage is that Ruby is more <strong>portable</strong>.</p>
19
+
<p>This ebook will show examples for filtering and substitution features, field processing, using standard and third-party modules, multiple file processing, how to construct solutions that depend on multiple records, how to compare records and fields between two or more files, how to identify duplicates while maintaining input order and so on.</p>
<h2 id="release-offers">Release offers<a class="zola-anchor" href="#release-offers" aria-label="Anchor link for: release-offers">🔗</a></h2>
22
+
<p>To celebrate the new release, you can download PDF/EPUB versions of <strong>Ruby One-Liners Guide</strong> for FREE till 29-February-2024. You can still pay if you wish ;)</p>
<p>On this blog, I <a href="https://learnbyexample.github.io/tips/">post tips</a> covering Python, command line tools and Vim. Here are video demos for these tips:</p>
<li><a href="https://www.youtube.com/watch?v=p0KCLusMd5Q&amp;list=PLTv2U3HnAL4PNTmRqZBSUgKaiHbRL2zeY">Linux command line tips</a></li>
51
+
</ul>
52
+
<br>
53
+
<h2 id="testimonials">Testimonials<a class="zola-anchor" href="#testimonials" aria-label="Anchor link for: testimonials">🔗</a></h2>
54
+
<blockquote>
55
+
<p>This Ruby one-liners cookbook is incredible. Pretty mind boggling all the stuff you can do.</p>
56
+
<p>— <a href="https://twitter.com/jbrancha/status/1506766118756786189">feedback on twitter</a></p>
57
+
</blockquote>
58
+
<br>
59
+
<h2 id="table-of-contents">Table of Contents<a class="zola-anchor" href="#table-of-contents" aria-label="Anchor link for: table-of-contents">🔗</a></h2>
<h2 id="web-version">Web version<a class="zola-anchor" href="#web-version" aria-label="Anchor link for: web-version">🔗</a></h2>
74
+
<p>You can also read the book online here: <a href="https://learnbyexample.github.io/learn_ruby_oneliners/">https://learnbyexample.github.io/learn_ruby_oneliners/</a>.</p>
75
+
<br>
76
+
<h2 id="github-repo">GitHub repo<a class="zola-anchor" href="#github-repo" aria-label="Anchor link for: github-repo">🔗</a></h2>
77
+
<p>Visit <a href="https://github.com/learnbyexample/learn_ruby_oneliners">https://github.com/learnbyexample/learn_ruby_oneliners</a> for markdown source, example files, exercise solutions, sample chapters and other details related to the book.</p>
78
+
<blockquote>
79
+
<p><img src="/images/info.svg" alt="info" /> See also <a href="https://learnbyexample.github.io/customizing-pandoc/">my blog post</a> on how to customize <code>pandoc</code> for generating beautiful PDF/EPUB versions from GitHub style markdown.</p>
80
+
</blockquote>
81
+
<br>
82
+
<h2 id="newsletter">Newsletter<a class="zola-anchor" href="#newsletter" aria-label="Anchor link for: newsletter">🔗</a></h2>
83
+
<p>Subscribe to <a href="https://learnbyexample.gumroad.com/l/learnbyexample-weekly">learnbyexample weekly</a> — free newsletter covering programming resources, updates on what I am creating, tools, ebooks and more, delivered every Friday.</p>
84
+
<br>
85
+
<h2 id="feedback-and-errata">Feedback and Errata<a class="zola-anchor" href="#feedback-and-errata" aria-label="Anchor link for: feedback-and-errata">🔗</a></h2>
86
+
<p>I would highly appreciate it if you'd <strong>let me know how you felt about this book</strong>. It could be anything from a simple thank you, Gumroad rating, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.</p>
<content type="html"><p>This post lists my programming ebooks with details like PDF/EPUB purchase links, GitHub repos, web versions, testimonials, etc. All my ebooks are self-published. You can get these ebooks individually or as part of bundles. You can also read them online for free.</p>
@@ -4443,13 +4529,13 @@ Specifying a greater than <code>0</code> start index when using
4443
4529
<li><strong>Awesome regex</strong>: <a href="https://leanpub.com/b/regex">leanpub</a> or <a href="https://learnbyexample.gumroad.com/l/regex">gumroad</a>
<li>GNU grep, ripgrep, GNU sed, GNU awk cli tools (BRE/ERE, PCRE, Rust regex crate, PCRE2)</li>
4532
+
<li>GNU grep, ripgrep, GNU sed, GNU awk CLI tools (BRE/ERE, PCRE, Rust regex crate, PCRE2)</li>
4447
4533
<li>Vim regexp</li>
4448
4534
</ul>
4449
4535
</li>
4450
4536
<li><strong>Magical one-liners</strong>: <a href="https://leanpub.com/b/oneliners">leanpub</a> or <a href="https://learnbyexample.gumroad.com/l/oneliners">gumroad</a>
4451
4537
<ul>
4452
-
<li>GNU grep, ripgrep, GNU sed, GNU awk, Ruby, Perl cli tools</li>
4538
+
<li>GNU grep, ripgrep, GNU sed, GNU awk, Ruby, Perl CLI tools</li>
4453
4539
</ul>
4454
4540
</li>
4455
4541
<li><strong>Learn by example Python bundle</strong>: <a href="https://leanpub.com/b/python-bundle">leanpub</a> or <a href="https://learnbyexample.gumroad.com/l/python-bundle">gumroad</a>
@@ -4459,7 +4545,7 @@ Specifying a greater than <code>0</code> start index when using
4459
4545
</li>
4460
4546
<li><strong>Ruby Text processing</strong>: <a href="https://leanpub.com/b/ruby-textprocessing">leanpub</a> or <a href="https://learnbyexample.gumroad.com/l/ruby-textprocessing">gumroad</a>
<p>Example based guide for text processing with Ruby from the command line. Exercises are also included to test your understanding.</p>
0 commit comments