1. Cover
  2. Buy PDF/EPUB versions
  3. 1. Preface
  4. 2. One-liner introduction
  5. 3. Line processing
  6. 4. In-place file editing
  7. 5. Field separators
  8. 6. Record separators
  9. 7. Using modules
  10. 8. Multiple file input
  11. 9. Processing multiple records
  12. 10. Two file processing
  13. 11. Dealing with duplicates
  14. 12. Perl rename command
  15. 13. Exercise Solutions


  16.    Source code
  17.    My Blog
  18.    My Books
  19.    learnbyexample weekly
  20.    Twitter

Perl One-Liners Guide

    Buy PDF/EPUB versions

    Purchase links

    You can buy the pdf/epub versions of the book using these links:

    • https://learnbyexample.gumroad.com/l/perl-oneliners
    • https://leanpub.com/perl-oneliners

    Bundles

    You can also get the book as part of these bundles:

    • All books bundle
      • https://leanpub.com/b/learnbyexample-all-books
      • https://learnbyexample.gumroad.com/l/all-books
    • Linux CLI Text Processing
      • https://leanpub.com/b/linux-cli-text-processing
      • https://learnbyexample.gumroad.com/l/linux-cli-text-processing
    • Magical one-liners
      • https://leanpub.com/b/oneliners
      • https://learnbyexample.gumroad.com/l/oneliners

    Testimonials

    This is fantastic! 👏 I use Perl one-liners for record and text processing a lot and this will be definitely something I will keep coming back to - I’ve already learned a trick from “Context Matching” (9) 🙂

    — feedback on Linux@lemmy.ml

    Book list

    Here's a list of programming books I've written:

    • Understanding Python re(gex)?
    • Understanding JavaScript RegExp
    • Understanding Ruby Regexp
    • CLI text processing with GNU grep and ripgrep
    • CLI text processing with GNU sed
    • CLI text processing with GNU awk
    • Ruby One-Liners Guide
    • Perl One-Liners Guide
    • 100 Page Python Intro
    • Practice Python Projects
    • CLI text processing with GNU Coreutils
    • Vim Reference Guide
    • Linux Command Line Computing