|
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-06-26T00:00:00+00:00</updated> |
| 8 | + <updated>2023-06-29T00: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 sed book announcement</title> |
| 12 | + <published>2023-06-29T00:00:00+00:00</published> |
| 13 | + <updated>2023-06-29T00:00:00+00:00</updated> |
| 14 | + <link rel="alternate" href="https://learnbyexample.github.io/cli-text-processing-sed-announcement/" type="text/html"/> |
| 15 | + <id>https://learnbyexample.github.io/cli-text-processing-sed-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 sed</strong> ebook. Examples, exercises, solutions, descriptions and external links were added/updated/corrected.</p> |
| 18 | +<p>This book will help you learn the <code>GNU sed</code> command step-by-step from beginner to advanced levels with <strong>hundreds of examples and exercises</strong>. In addition to command options, <strong>regular expressions</strong> will also be discussed in detail.</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 sed</strong> for FREE till 10-July-2023. You can still pay if you wish ;)</p> |
| 22 | +<ul> |
| 23 | +<li><a href="https://learnbyexample.gumroad.com/l/gnu_sed">Gumroad</a></li> |
| 24 | +<li><a href="https://leanpub.com/gnu_sed/c/new_sed_release">Leanpub</a></li> |
| 25 | +</ul> |
| 26 | +<p>Other offers:</p> |
| 27 | +<ul> |
| 28 | +<li><a href="https://learnbyexample.gumroad.com/l/gnugrep_ripgrep">CLI text processing with GNU grep and ripgrep</a> is FREE</li> |
| 29 | +<li><a href="https://learnbyexample.gumroad.com/l/all-books/new_sed_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 version updated to <strong>GNU sed 4.9</strong></li> |
| 35 | +<li>Many more exercises added, and you can practice some of them using this <a href="https://github.com/learnbyexample/TUI-apps/blob/main/SedExercises">interactive TUI app</a></li> |
| 36 | +<li>Long sections split into smaller ones</li> |
| 37 | +<li>In general, many of the examples, exercises, solutions, descriptions and external links were updated/corrected</li> |
| 38 | +<li>Updated Acknowledgements section</li> |
| 39 | +<li>Code snippets related to info/warning sections will now appear as a single block</li> |
| 40 | +<li>Book title changed to <strong>CLI text processing with GNU sed</strong></li> |
| 41 | +<li>New cover image</li> |
| 42 | +<li>Images centered for EPUB format</li> |
| 43 | +</ul> |
| 44 | +<br> |
| 45 | +<h2 id="videos">Videos<a class="zola-anchor" href="#videos" aria-label="Anchor link for: videos">🔗</a></h2> |
| 46 | +<p align="center"><iframe width="560" height="315" loading="lazy" src="https://www.youtube.com/embed/nvKyKoeiZD8" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p> |
| 47 | +<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> |
| 48 | +<ul> |
| 49 | +<li><a href="https://www.youtube.com/watch?v=THSMmCZQn1A&amp;list=PLTv2U3HnAL4PlFDiH3FXTHXRbhWs2sB3F">Python tips</a></li> |
| 50 | +<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="interactive-tui-app">Interactive TUI app<a class="zola-anchor" href="#interactive-tui-app" aria-label="Anchor link for: interactive-tui-app">🔗</a></h2> |
| 54 | +<p>I also wrote an <a href="https://github.com/learnbyexample/TUI-apps/blob/main/SedExercises">interactive TUI app</a> based on some of the exercises from the ebook. Reference solutions are also provided.</p> |
| 55 | +<p align="center"><img src="https://raw.githubusercontent.com/learnbyexample/TUI-apps/main/SedExercises/sed_exercises.png" alt="Sample screenshot from the interactive TUI app for sed exercises" loading="lazy" /></p> |
| 56 | +<br> |
| 57 | +<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> |
| 58 | +<ol> |
| 59 | +<li>Preface</li> |
| 60 | +<li>Introduction</li> |
| 61 | +<li>In-place file editing</li> |
| 62 | +<li>Selective editing</li> |
| 63 | +<li>BRE/ERE Regular Expressions</li> |
| 64 | +<li>Flags</li> |
| 65 | +<li>Shell substitutions</li> |
| 66 | +<li>z, s and f command line options</li> |
| 67 | +<li>append, change, insert</li> |
| 68 | +<li>Adding content from file</li> |
| 69 | +<li>Control structures</li> |
| 70 | +<li>Processing lines bounded by distinct markers</li> |
| 71 | +<li>Gotchas and Tricks</li> |
| 72 | +<li>Further Reading</li> |
| 73 | +</ol> |
| 74 | +<br> |
| 75 | +<h2 id="web-version">Web version<a class="zola-anchor" href="#web-version" aria-label="Anchor link for: web-version">🔗</a></h2> |
| 76 | +<p>You can also read the book online here: <a href="https://learnbyexample.github.io/learn_gnused/">https://learnbyexample.github.io/learn_gnused/</a>.</p> |
| 77 | +<br> |
| 78 | +<h2 id="github-repo">GitHub repo<a class="zola-anchor" href="#github-repo" aria-label="Anchor link for: github-repo">🔗</a></h2> |
| 79 | +<p>Visit <a href="https://github.com/learnbyexample/learn_gnused">https://github.com/learnbyexample/learn_gnused</a> for markdown source, example files, exercise solutions, sample chapters and other details related to the book.</p> |
| 80 | +<blockquote> |
| 81 | +<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> |
| 82 | +</blockquote> |
| 83 | +<br> |
| 84 | +<h2 id="newsletter">Newsletter<a class="zola-anchor" href="#newsletter" aria-label="Anchor link for: newsletter">🔗</a></h2> |
| 85 | +<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> |
| 86 | +<br> |
| 87 | +<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> |
| 88 | +<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> |
| 89 | +<p>You can reach me via:</p> |
| 90 | +<ul> |
| 91 | +<li>Issue Manager: <a href="https://github.com/learnbyexample/learn_gnused/issues">https://github.com/learnbyexample/learn_gnused/issues</a></li> |
| 92 | +<li>E-mail: <code>echo 'bGVhcm5ieWV4YW1wbGUubmV0QGdtYWlsLmNvbQo=' | base64 --decode</code></li> |
| 93 | +<li>Twitter: <a href="https://twitter.com/learn_byexample">https://twitter.com/learn_byexample</a></li> |
| 94 | +</ul> |
| 95 | +<p>Happy learning :)</p> |
| 96 | +</content> |
| 97 | + </entry> |
10 | 98 | <entry xml:lang="en">
|
11 | 99 | <title>Vim tip 28: miscellaneous motion and reposition commands</title>
|
12 | 100 | <published>2023-06-26T00:00:00+00:00</published>
|
@@ -3048,7 +3136,7 @@ Specifying a greater than <code>0</code> start index when using
|
3048 | 3136 | <entry xml:lang="en">
|
3049 | 3137 | <title>Programming ebooks by Sundeep Agarwal</title>
|
3050 | 3138 | <published>2022-08-09T00:00:00+00:00</published>
|
3051 |
| - <updated>2023-05-12T00:00:00+00:00</updated> |
| 3139 | + <updated>2023-06-29T00:00:00+00:00</updated> |
3052 | 3140 | <link rel="alternate" href="https://learnbyexample.github.io/books/" type="text/html"/>
|
3053 | 3141 | <id>https://learnbyexample.github.io/books/</id>
|
3054 | 3142 | <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>
|
@@ -3222,9 +3310,9 @@ Specifying a greater than <code>0</code> start index when using
|
3222 | 3310 | <li>Feedback: <a href="https://twitter.com/learn_byexample">Twitter</a></li>
|
3223 | 3311 | </ul>
|
3224 | 3312 | <br>
|
3225 |
| -<h1 id="gnu-sed"><p style="color: #ff9933">GNU sed</h1> |
| 3313 | +<h1 id="cli-text-processing-with-gnu-sed"><p style="color: #ff9933">CLI text processing with GNU sed</h1> |
3226 | 3314 | <p>Example based guide to mastering GNU sed. Exercises are also included to test your understanding.</p>
|
3227 |
| -<p align="center"><img src="/images/books/sed.png" alt="sed cover image" loading="lazy" /></p> |
| 3315 | +<p align="center"><img src="https://raw.githubusercontent.com/learnbyexample/learn_gnused/master/images/sed_ls.png" width="640px" height="360px" alt="CLI text processing with GNU sed cover image" loading="lazy" /></p> |
3228 | 3316 | <ul>
|
3229 | 3317 | <li><a href="https://github.com/learnbyexample/learn_gnused/blob/master/sample_chapters/sed_sample_chapters.pdf">Sample chapters</a></li>
|
3230 | 3318 | <li>Buy pdf/epub from:
|
|
0 commit comments