"Demystify and debug your sed scripts"
Notices by Sundeep (learnbyexample@techhub.social)
-
Embed this notice
Sundeep (learnbyexample@techhub.social)'s status on Sunday, 08-Sep-2024 00:28:38 JST Sundeep
-
Embed this notice
Sundeep (learnbyexample@techhub.social)'s status on Thursday, 28-Sep-2023 23:15:32 JST Sundeep
Hello!
I am pleased to announce a new version of my "Perl One-Liners Guide" ebook.
Links:
* PDF/EPUB versions: https://learnbyexample.gumroad.com/l/perl-oneliners or https://leanpub.com/perl-oneliners/c/new_perl_release (free till 07-October-2023)
* Web version: https://learnbyexample.github.io/learn_perl_oneliners/
* Markdown source, example files, etc: https://github.com/learnbyexample/learn_perl_oneliners
Bundle offers:
"All Books Bundle" is $12 (normal price $32) — includes all my 13 programming ebooks.
* https://learnbyexample.gumroad.com/l/all-books/new_perl_release
* https://leanpub.com/b/learnbyexample-all-books/c/new_perl_release
I would highly appreciate it if you'd let me know how you felt about this book.
Happy learning :)
In conversation from techhub.social permalink Attachments
-
https://files.techhub.social/media_attachments/files/111/142/460/727/806/380/original/ba80e1b54bea623b.png -
Domain not in remote thumbnail source whitelist: public-files.gumroad.com
Perl One-Liners Guide
OffersTo celebrate the new release of "Perl One-Liners Guide", you can avail the following offers:Perl One-Liners Guide is FREEAll Books Bundle is $12 (normal price $32) — all my 13 programming ebooksAboutWhen it comes to command line text processing, there are several well known tools like grep for filtering, sed for substitution and awk for field processing. Compared to such tools, Perl has a feature rich regular expression engine, plenty of builtin modules and a thriving ecosystem. Another advantage is that Perl is more portable.Perl One-Liners Guide 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.This book heavily leans on examples to present features one by one. Exercises are also included to test your understanding.Promo videoPrerequisitesYou should be comfortable with programming basics and have prior experience working with Perl. You should know concepts like scalar, array, hash, special variables and be familiar with control structures, regular expressions, etc.You should be familiar with command line usage in a Unix-like environment. You should also be comfortable with concepts like file redirection and command pipelines. Knowing the basics of the grep, sed and awk commands will come in handy as well.You are also expected to get comfortable with reading manuals, searching online, visiting external links provided for further reading, tinkering with illustrated examples, asking for help when you are stuck and so on. In other words, be proactive and curious instead of just consuming the content passively.Sample chaptersFor a preview of the book, see sample chapters on GitHub.GitHub repoVisit https://github.com/learnbyexample/learn_perl_oneliners for markdown source, example files, exercise solutions and other details related to the book.ChaptersPrefaceOne-liner introductionLine processingIn-place file editingField separatorsRecord separatorsUsing modulesMultiple file inputProcessing multiple recordsTwo file processingDealing with duplicatesPerl rename commandFeedback and ErrataI would highly appreciate it if you'd let me know how you felt about this ebook. 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.You can reach me via:Issue Manager: https://github.com/learnbyexample/learn_perl_oneliners/issuesE-mail: learnbyexample.net@gmail.comTwitter: https://twitter.com/learn_byexample -
Domain not in remote thumbnail source whitelist: d2sofvawe08yqg.cloudfront.net
Perl One-Liners Guide
from Sundeep AgarwalWhen it comes to command line text processing, there are several well known tools like grep for filtering, sed for substitution and awk for field processing. Compared to such tools, Perl has a feature rich regular expression engine, plenty of builtin modules and a thriving ecosystem. Another advantage is that Perl is more portable. -
-
-
Domain not in remote thumbnail source whitelist: public-files.gumroad.com
All books bundle
OffersTo celebrate the new release of "Perl One-Liners Guide", you can avail the following offers:Perl One-Liners Guide is FREEAll Books Bundle is $12 (normal price $32) — all my 13 programming ebooksBundle detailsThis bundle contains all my published ebooks on various programming topics:Understanding Python re(gex)?JavaScript RegExpRuby RegexpCLI text processing with GNU grep and ripgrepCLI text processing with GNU sedCLI text processing with GNU awkRuby one-liners cookbookPerl One-Liners Guide100 Page Python IntroPractice Python ProjectsCommand line text processing with GNU CoreutilsVim Reference GuideComputing from the Command LineThe above links point to GitHub repos for the respective books. These repos have sample chapters, code snippets, exercises and other files related to these books.Understanding Python re(gex)?, JavaScript RegExp and Ruby Regexp books are solely focused on regular expressions.CLI text processing with GNU grep and ripgrep, GNU sed, GNU awk, Ruby One-Liners and Perl One-Liners will help you learn how to use these command line tools from the terminal. The various regex flavors used in grep/sed/awk are discussed in dedicated chapters/sections with plenty of examples. See my blog post for subtle differences between the BRE/ERE implementations in these tools.100 Page Python Intro provides a short, introductory guide for the Python programming language, suited for those already familiar with programming basics.Practice Python Projects helps you take the next step in your programming journey with real world inspired Python projects.Command line text processing with GNU Coreutils teaches you more than twenty specialized text processing tools such as head, tail, tr, sort, join, cut, paste, etc.Vim Reference Guide focuses on the Vim text editor. There's an entire chapter for the Vim regex flavor.Computing from the Command Line aims to teach Linux command line tools and Shell Scripting for beginner to intermediate level users. The main focus is towards managing your files and performing text processing tasks.TestimonialsI love your books on regex...As a student from the Digital VLSI space, it is indeed useful now and definitely in the future. It's really well written and really easy to understand the examples — feedback on reddit It's very thorough, written with care, and presented in a way that makes sense. Even as an intermediate Python programmer, I found use in this book. — feedback by Andrew Healey on an early draft for '100 Page Python Intro' mentioned in this Hacker News threadStep up your cli fu with this fabulous intro & deep dive into awk. I learned a ton of tricks! — feedback on twitterYour Practice Python Projects book is really helping me to reinforce my knowledge and mastery of Python as I'm learning. It alone makes the bundle well worth the money! — feedback on twitterThis Ruby one-liners cookbook is incredible. Pretty mind boggling all the stuff you can do. — feedback on twitterIn my opinion the book does a great job of quickly presenting examples of how commands can be used and then paired up to achieve new or interesting ways of manipulating data. Throughout the text there are little highlights offering tips on extra functionality or limitations of certain commands. For instance, when discussing the shuf command we're warned that shuf will not work with multiple files. However, we can merge multiple files together (using the cat command) and then pass them to shuf. These little gems of wisdom add a dimension to the book and will likely save the reader some time wondering why their scripts are not working as expected. — book review by Jesse Smith on distrowatch.com for "Command line text processing with GNU Coreutils"Hi, great work releasing this! Trying to explain vim concisely is always an interesting challenge and I had a great time reading your attempt in this book. I always find it really interesting on how people try to group certain vim functions in a way that makes sense to people that don't use vim. I think you cover that idea pretty well in your 'Vim philosophy and features' section whilst not making it overly abstract and keeping it relatable. — feedback on Hacker News by doix for "Vim Reference Guide"I consider myself pretty experienced at shell-fu and capable of doing most things I set out to achieve in either bash scripts or fearless one-liners. However, my awk is rudimentary at best, I think mostly because it's such an unforgiving environment to experiment in. These books you've written are great for a bit of first principles insight and then quickly building up to functional usage. I will have no hesitation in referring colleagues to them! — feedback on Hacker NewsIve only gotten through first pages but appears a good Unix/bash primer. I’ll probably recommend for new hires out of bootcamp because they’re usually weak here — feedback on twitter for "Computing from the Command Line"Thank you for choosing to write and share your knowledge. I read your books on CLI and sed - I think they are very comprehensive and very well explained. Keep up the great work — feedback on twitterBundle cover image created using canva. The books stack illustration is by OpenClipart-Vectors. -
Domain not in remote thumbnail source whitelist: s3.amazonaws.com
All books bundle
OffersTo celebrate the new release of "Perl One-Liners Guide", you can avail the following offers:Perl One-Liners Guide is FREEAll Books Bundle is $12 (normal price $32) — all my 13 programming ebooks This bundle contains all my published ebooks on various programming topics:Understanding Python re(gex)?JavaScript RegExpRuby RegexpCLI text processing with GNU grep and ripgrepCLI text processing with GNU sedCLI text processing with GNU awkRuby one-liners cookbookPerl One-Liners Guide100 Page Python IntroPractice Python ProjectsCommand line text processing with GNU CoreutilsVim Reference GuideComputing from the Command LineThe above links point to GitHub repos for the respective books. These repos have sample chapters, code snippets, exercises and other files related to these books.Understanding Python re(gex)?, JavaScript RegExp and Ruby Regexp books are solely focused on regular expressions.CLI text processing with GNU grep and ripgrep, GNU sed, GNU awk, Ruby One-Liners and Perl One-Liners will help you learn how to use these command line tools from the terminal. The various regex flavors used in grep/sed/awk are discussed in dedicated chapters/sections with plenty of examples. See my blog post for subtle differences between the BRE/ERE implementations in these tools.100 Page Python Intro provides a short, introductory guide for the Python programming language, suited for those already familiar with programming basics.Practice Python Projects helps you take the next step in your programming journey with real world inspired Python projects.Command line text processing with GNU Coreutils teaches you more than twenty specialized text processing tools such as head, tail, tr, sort, join, cut, paste, etc.Vim Reference Guide focuses on the Vim text editor. There's an entire chapter for the Vim regex flavor.Computing from the Command Line aims to teach Linux command line tools and Shell Scripting for beginner to intermediate level users. The main focus is towards managing your files and performing text processing tasks. Testimonials I love your books on regex...As a student from the Digital VLSI space, it is indeed useful now and definitely in the future. It's really well written and really easy to understand the examples — feedback on reddit It's very thorough, written with care, and presented in a way that makes sense. Even as an intermediate Python programmer, I found use in this book. — feedback by Andrew Healey on an early draft for '100 Page Python Intro' mentioned in this Hacker News thread Step up your cli fu with this fabulous intro & deep dive into awk. I learned a ton of tricks! — feedback on twitter Your Practice Python Projects book is really helping me to reinforce my knowledge and mastery of Python as I'm learning. It alone makes the bundle well worth the money! — feedback on twitter This Ruby one-liners cookbook is incredible. Pretty mind boggling all the stuff you can do. — feedback on twitter In my opinion the book does a great job of quickly presenting examples of how commands can be used and then paired up to achieve new or interesting ways of manipulating data. Throughout the text there are little highlights offering tips on extra functionality or limitations of certain commands. For instance, when discussing the shuf command we're warned that shuf will not work with multiple files. However, we can merge multiple files together (using the cat command) and then pass them to shuf. These little gems of wisdom add a dimension to the book and will likely save the reader some time wondering why their scripts are not working as expected. — book review by Jesse Smith on distrowatch.com for "Command line text processing with GNU Coreutils" Hi, great work releasing this! Trying to explain vim concisely is always an interesting challenge and I had a great time reading your attempt in this book. I always find it really interesting on how people try to group certain vim functions in a way that makes sense to people that don't use vim. I think you cover that idea pretty well in your 'Vim philosophy and features' section whilst not making it overly abstract and keeping it relatable. — feedback on Hacker News by doix for "Vim Reference Guide" I consider myself pretty experienced at shell-fu and capable of doing most things I set out to achieve in either bash scripts or fearless one-liners. However, my awk is rudimentary at best, I think mostly because it's such an unforgiving environment to experiment in. These books you've written are great for a bit of first principles insight and then quickly building up to functional usage. I will have no hesitation in referring colleagues to them! — feedback on Hacker News Ive only gotten through first pages but appears a good Unix/bash primer. I’ll probably recommend for new hires out of bootcamp because they’re usually weak here — feedback on twitter for "Computing from the Command Line" Thank you for choosing to write and share your knowledge. I read your books on CLI and sed - I think they are very comprehensive and very well explained. Keep up the great work — feedback on twitter Bundle cover image created using canva. The books stack illustration is by OpenClipart-Vectors.
-