|
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-09-25T00:00:00+00:00</updated> |
| 8 | + <updated>2023-09-28T00:00:00+00:00</updated> |
9 | 9 | <id>https://learnbyexample.github.io/atom.xml</id>
|
| 10 | + <entry xml:lang="en"> |
| 11 | + <title>Perl One-Liners Guide book announcement</title> |
| 12 | + <published>2023-09-28T00:00:00+00:00</published> |
| 13 | + <updated>2023-09-28T00:00:00+00:00</updated> |
| 14 | + <link rel="alternate" href="https://learnbyexample.github.io/perl-oneliners-guide-announcement/" type="text/html"/> |
| 15 | + <id>https://learnbyexample.github.io/perl-oneliners-guide-announcement/</id> |
| 16 | + <content type="html"><p>Hello!</p> |
| 17 | +<p>I am pleased to announce a new version of my <strong>Perl 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>Perl has a feature rich regular expression engine, plenty of builtin modules and a thriving ecosystem</strong>. Another advantage is that Perl 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> |
| 20 | +<span id="continue-reading"></span><br> |
| 21 | +<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>Perl One-Liners Guide</strong> for FREE till 07-October-2023. You can still pay if you wish ;)</p> |
| 23 | +<ul> |
| 24 | +<li><a href="https://learnbyexample.gumroad.com/l/perl-oneliners">Gumroad</a></li> |
| 25 | +<li><a href="https://leanpub.com/perl-oneliners/c/new_perl_release">Leanpub</a></li> |
| 26 | +</ul> |
| 27 | +<p><strong>All Books Bundle</strong> is just $12 (normal price $32), includes all my 13 programming ebooks.</p> |
| 28 | +<ul> |
| 29 | +<li><a href="https://learnbyexample.gumroad.com/l/all-books/new_perl_release">Gumroad</a></li> |
| 30 | +<li><a href="https://leanpub.com/b/learnbyexample-all-books/c/new_perl_release">Leanpub</a></li> |
| 31 | +</ul> |
| 32 | +<br> |
| 33 | +<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> |
| 34 | +<ul> |
| 35 | +<li>Command version updated to <strong>Perl 5.38.0</strong> |
| 36 | +<ul> |
| 37 | +<li>option <code>-g</code> slurps entire file contents</li> |
| 38 | +</ul> |
| 39 | +</li> |
| 40 | +<li>Many more exercises added</li> |
| 41 | +<li>Long sections split into smaller ones</li> |
| 42 | +<li>In general, many of the examples, exercises, solutions, descriptions and external links were updated/corrected</li> |
| 43 | +<li>Updated Acknowledgements section</li> |
| 44 | +<li>Code snippets related to info/warning sections will now appear as a single block</li> |
| 45 | +<li>Book title changed to <strong>Perl One-Liners Guide</strong></li> |
| 46 | +<li>New cover image</li> |
| 47 | +</ul> |
| 48 | +<br> |
| 49 | +<h2 id="videos">Videos<a class="zola-anchor" href="#videos" aria-label="Anchor link for: videos">🔗</a></h2> |
| 50 | +<p align="center"><iframe width="560" height="315" loading="lazy" src="https://www.youtube.com/embed/_7tP_4T45Ok" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p> |
| 51 | +<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> |
| 52 | +<ul> |
| 53 | +<li><a href="https://www.youtube.com/watch?v=THSMmCZQn1A&amp;list=PLTv2U3HnAL4PlFDiH3FXTHXRbhWs2sB3F">Python tips</a></li> |
| 54 | +<li><a href="https://www.youtube.com/watch?v=p0KCLusMd5Q&amp;list=PLTv2U3HnAL4PNTmRqZBSUgKaiHbRL2zeY">Linux command line tips</a></li> |
| 55 | +</ul> |
| 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>One-liner introduction</li> |
| 61 | +<li>Line processing</li> |
| 62 | +<li>In-place file editing</li> |
| 63 | +<li>Field separators</li> |
| 64 | +<li>Record separators</li> |
| 65 | +<li>Using modules</li> |
| 66 | +<li>Multiple file input</li> |
| 67 | +<li>Processing multiple records</li> |
| 68 | +<li>Two file processing</li> |
| 69 | +<li>Dealing with duplicates</li> |
| 70 | +<li>Perl rename command</li> |
| 71 | +</ol> |
| 72 | +<br> |
| 73 | +<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_perl_oneliners/">https://learnbyexample.github.io/learn_perl_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_perl_oneliners">https://github.com/learnbyexample/learn_perl_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, tips, tools, free 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> |
| 87 | +<p>You can reach me via:</p> |
| 88 | +<ul> |
| 89 | +<li>Issue Manager: <a href="https://github.com/learnbyexample/learn_perl_oneliners/issues">https://github.com/learnbyexample/learn_perl_oneliners/issues</a></li> |
| 90 | +<li>E-mail: <code>echo 'bGVhcm5ieWV4YW1wbGUubmV0QGdtYWlsLmNvbQo=' | base64 --decode</code></li> |
| 91 | +<li>Twitter: <a href="https://twitter.com/learn_byexample">https://twitter.com/learn_byexample</a></li> |
| 92 | +</ul> |
| 93 | +<p>Happy learning :)</p> |
| 94 | +</content> |
| 95 | + </entry> |
10 | 96 | <entry xml:lang="en">
|
11 | 97 | <title>Vim tip 33: editing with text objects</title>
|
12 | 98 | <published>2023-09-25T00:00:00+00:00</published>
|
@@ -3974,7 +4060,7 @@ Specifying a greater than <code>0</code> start index when using
|
3974 | 4060 | <entry xml:lang="en">
|
3975 | 4061 | <title>Programming ebooks by Sundeep Agarwal</title>
|
3976 | 4062 | <published>2022-08-09T00:00:00+00:00</published>
|
3977 |
| - <updated>2023-08-22T00:00:00+00:00</updated> |
| 4063 | + <updated>2023-09-28T00:00:00+00:00</updated> |
3978 | 4064 | <link rel="alternate" href="https://learnbyexample.github.io/books/" type="text/html"/>
|
3979 | 4065 | <id>https://learnbyexample.github.io/books/</id>
|
3980 | 4066 | <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>
|
@@ -4212,9 +4298,9 @@ Specifying a greater than <code>0</code> start index when using
|
4212 | 4298 | <li>Feedback: <a href="https://twitter.com/learn_byexample">Twitter</a></li>
|
4213 | 4299 | </ul>
|
4214 | 4300 | <br>
|
4215 |
| -<h1 id="perl-one-liners-cookbook"><p style="color: #ff9933">Perl one-liners cookbook</h1> |
| 4301 | +<h1 id="perl-one-liners-guide"><p style="color: #ff9933">Perl One-Liners Guide</h1> |
4216 | 4302 | <p>Example based guide for text processing with Perl from the command line. Exercises are also included to test your understanding.</p>
|
4217 |
| -<p align="center"><img src="/images/books/perl_oneliners.png" alt="Perl one-liners cookbook cover image" loading="lazy" /></p> |
| 4303 | +<p align="center"><img src="https://raw.githubusercontent.com/learnbyexample/learn_perl_oneliners/main/images/perl_oneliners_ls.png" alt="Perl One-Liners Guide cover image" loading="lazy" /></p> |
4218 | 4304 | <ul>
|
4219 | 4305 | <li><a href="https://github.com/learnbyexample/learn_perl_oneliners/blob/main/sample_chapters/perl_oneliners_sample.pdf">Sample chapters</a></li>
|
4220 | 4306 | <li>Buy pdf/epub from:
|
|
0 commit comments