1. Cover
  2. Buy PDF/EPUB versions
  3. 1. Preface
  4. 2. One-liner introduction
  5. 3. Line processing
  6. 4. Field separators
  7. 5. Record separators
  8. 6. Multiple file input
  9. 7. Processing multiple records
  10. 8. Two file processing
  11. 9. Dealing with duplicates
  12. 10. Processing structured data
  13. 11. Exercise Solutions


  14.    Source code
  15.    My Blog
  16.    My Books
  17.    learnbyexample weekly
  18.    Twitter

Ruby 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/ruby-oneliners
    • https://leanpub.com/ruby-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
    • Ruby text processing
      • https://leanpub.com/b/ruby-textprocessing
      • https://learnbyexample.gumroad.com/l/ruby-textprocessing
    • Magical one-liners
      • https://leanpub.com/b/oneliners
      • https://learnbyexample.gumroad.com/l/oneliners

    Testimonials

    This Ruby one-liners cookbook is incredible. Pretty mind boggling all the stuff you can do.

    — feedback on twitter

    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