|
5 | 5 | <link href="https://learnbyexample.github.io/atom.xml" rel="self" type="application/atom+xml"/>
|
6 | 6 | <link href="https://learnbyexample.github.io"/>
|
7 | 7 | <generator uri="https://www.getzola.org/">Zola</generator>
|
8 |
| - <updated>2023-05-09T00:00:00+00:00</updated> |
| 8 | + <updated>2023-05-11T00:00:00+00:00</updated> |
9 | 9 | <id>https://learnbyexample.github.io/atom.xml</id>
|
| 10 | + <entry xml:lang="en"> |
| 11 | + <title>CLI text processing with GNU grep and ripgrep book announcement</title> |
| 12 | + <published>2023-05-11T00:00:00+00:00</published> |
| 13 | + <updated>2023-05-11T00:00:00+00:00</updated> |
| 14 | + <link rel="alternate" href="https://learnbyexample.github.io/cli-text-processing-grep-announcement/" type="text/html"/> |
| 15 | + <id>https://learnbyexample.github.io/cli-text-processing-grep-announcement/</id> |
| 16 | + <content type="html"><p>Hello!</p> |
| 17 | +<p>I am pleased to announce a new version of my <strong>CLI text processing with GNU grep and ripgrep</strong> ebook. Examples, exercises, solutions, descriptions and external links were added/updated/corrected. The chapter on <code>ripgrep</code> was changed significantly to focus mostly on the differences compared to <code>GNU grep</code>.</p> |
| 18 | +<p>This book will help you learn these commands step-by-step from beginner to advanced levels with <strong>hundreds of examples and exercises</strong>.</p> |
| 19 | +<span id="continue-reading"></span><br> |
| 20 | +<h2 id="release-offers">Release offers<a class="zola-anchor" href="#release-offers" aria-label="Anchor link for: release-offers">π</a></h2> |
| 21 | +<p>To celebrate the new release, you can download PDF/EPUB versions of <strong>CLI text processing with GNU grep and ripgrep</strong> for FREE till 21-May-2023. You can still pay if you wish ;)</p> |
| 22 | +<ul> |
| 23 | +<li><a href="https://learnbyexample.gumroad.com/l/gnugrep_ripgrep">Gumroad</a></li> |
| 24 | +<li><a href="https://leanpub.com/gnugrep_ripgrep/c/new_grep_release">Leanpub</a></li> |
| 25 | +</ul> |
| 26 | +<p>Other offers:</p> |
| 27 | +<ul> |
| 28 | +<li><a href="https://learnbyexample.gumroad.com/l/cli_computing">Computing from the Command Line</a> is FREE β Linux command line tools and Shell Scripting for beginner to intermediate level users</li> |
| 29 | +<li><a href="https://learnbyexample.gumroad.com/l/all-books/new_grep_release">All Books Bundle</a> is $12 (normal price $32) β all my 13 programming ebooks</li> |
| 30 | +</ul> |
| 31 | +<br> |
| 32 | +<h2 id="what-s-new">What's new?<a class="zola-anchor" href="#what-s-new" aria-label="Anchor link for: what-s-new">π</a></h2> |
| 33 | +<ul> |
| 34 | +<li>Command versions updated to <strong>GNU grep 3.10</strong> and <strong>ripgrep 13.0.0</strong></li> |
| 35 | +<li>Many more exercises added</li> |
| 36 | +<li>PCRE chapter β added section for conditional grouping, corrected description and examples for <code>\K</code>, atomic grouping, etc</li> |
| 37 | +<li>ripgrep chapter β options and regex section modified to present only differences compared to <code>GNU grep</code>, added details for more options such as <code>--field-match-separator</code>, improved recursive search section, etc</li> |
| 38 | +<li>Long sections split into smaller ones</li> |
| 39 | +<li>In general, many of the examples, exercises, solutions, descriptions and external links were updated/corrected</li> |
| 40 | +<li>Updated Acknowledgements section</li> |
| 41 | +<li>Code snippets related to info/warning sections will now appear as a single block</li> |
| 42 | +<li>Book title changed to <strong>CLI text processing with GNU grep and ripgrep</strong></li> |
| 43 | +<li>New cover image</li> |
| 44 | +<li>Images centered for EPUB format</li> |
| 45 | +</ul> |
| 46 | +<br> |
| 47 | +<h2 id="videos">Videos<a class="zola-anchor" href="#videos" aria-label="Anchor link for: videos">π</a></h2> |
| 48 | +<p align="center"><iframe width="560" height="315" loading="lazy" src="https://www.youtube.com/embed/MSbGokwHm-A" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p> |
| 49 | +<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> |
| 50 | +<ul> |
| 51 | +<li><a href="https://www.youtube.com/watch?v=THSMmCZQn1A&amp;list=PLTv2U3HnAL4PlFDiH3FXTHXRbhWs2sB3F">Python tips</a></li> |
| 52 | +<li><a href="https://www.youtube.com/watch?v=p0KCLusMd5Q&amp;list=PLTv2U3HnAL4PNTmRqZBSUgKaiHbRL2zeY">Linux command line tips</a></li> |
| 53 | +</ul> |
| 54 | +<br> |
| 55 | +<h2 id="interactive-tui-app">Interactive TUI app<a class="zola-anchor" href="#interactive-tui-app" aria-label="Anchor link for: interactive-tui-app">π</a></h2> |
| 56 | +<p>I also wrote an <a href="https://github.com/learnbyexample/TUI-apps/blob/main/GrepExercises">interactive TUI app</a> based on some of the exercises from the ebook. Reference solutions are provided for both <code>GNU grep</code> and <code>ripgrep</code>.</p> |
| 57 | +<p align="center"><img src="https://raw.githubusercontent.com/learnbyexample/TUI-apps/main/GrepExercises/grep_exercises.png" alt="Sample screenshot from the interactive TUI app for grep exercises" loading="lazy" /></p> |
| 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> |
| 60 | +<ol> |
| 61 | +<li>Preface</li> |
| 62 | +<li>Introduction</li> |
| 63 | +<li>Frequently used options</li> |
| 64 | +<li>BRE/ERE Regular Expressions</li> |
| 65 | +<li>Context matching</li> |
| 66 | +<li>Recursive search</li> |
| 67 | +<li>Miscellaneous options</li> |
| 68 | +<li>Perl Compatible Regular Expressions</li> |
| 69 | +<li>Gotchas and Tricks</li> |
| 70 | +<li>ripgrep</li> |
| 71 | +<li>Further Reading</li> |
| 72 | +</ol> |
| 73 | +<br> |
| 74 | +<h2 id="web-version">Web version<a class="zola-anchor" href="#web-version" aria-label="Anchor link for: web-version">π</a></h2> |
| 75 | +<p>You can also read the book online here: <a href="https://learnbyexample.github.io/learn_gnugrep_ripgrep/">https://learnbyexample.github.io/learn_gnugrep_ripgrep/</a>.</p> |
| 76 | +<br> |
| 77 | +<h2 id="github-repo">GitHub repo<a class="zola-anchor" href="#github-repo" aria-label="Anchor link for: github-repo">π</a></h2> |
| 78 | +<p>Visit <a href="https://github.com/learnbyexample/learn_gnugrep_ripgrep">https://github.com/learnbyexample/learn_gnugrep_ripgrep</a> for markdown source, example files, exercise solutions, sample chapters and other details related to the book.</p> |
| 79 | +<blockquote> |
| 80 | +<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> |
| 81 | +</blockquote> |
| 82 | +<br> |
| 83 | +<h2 id="newsletter">Newsletter<a class="zola-anchor" href="#newsletter" aria-label="Anchor link for: newsletter">π</a></h2> |
| 84 | +<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, tips, tools, free ebooks and more, delivered every Friday.</p> |
| 85 | +<br> |
| 86 | +<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> |
| 87 | +<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> |
| 88 | +<p>You can reach me via:</p> |
| 89 | +<ul> |
| 90 | +<li>Issue Manager: <a href="https://github.com/learnbyexample/learn_gnugrep_ripgrep/issues">https://github.com/learnbyexample/learn_gnugrep_ripgrep/issues</a></li> |
| 91 | +<li>E-mail: <code>echo 'bGVhcm5ieWV4YW1wbGUubmV0QGdtYWlsLmNvbQo=' | base64 --decode</code></li> |
| 92 | +<li>Twitter: <a href="https://twitter.com/learn_byexample">https://twitter.com/learn_byexample</a></li> |
| 93 | +</ul> |
| 94 | +<p>Happy learning :)</p> |
| 95 | +</content> |
| 96 | + </entry> |
10 | 97 | <entry xml:lang="en">
|
11 | 98 | <title>CLI tip 27: reverse text line wise with tac</title>
|
12 | 99 | <published>2023-05-09T00:00:00+00:00</published>
|
|
0 commit comments