All Projects → learnbyexample → learn_perl_oneliners

learnbyexample / learn_perl_oneliners

Licence: MIT license
Example based guide for text processing with perl from the command line

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to learn perl oneliners

Learn gnuawk
Example based guide to mastering GNU awk
Stars: ✭ 727 (+1053.97%)
Mutual labels:  exercises, ebooks
learn js regexp
Example based guide to mastering JavaScript regexp
Stars: ✭ 85 (+34.92%)
Mutual labels:  exercises, learn-by-doing
corpusexplorer2.0
Korpuslinguistik war noch nie so einfach...
Stars: ✭ 16 (-74.6%)
Mutual labels:  text-processing
fuzzychinese
A small package to fuzzy match chinese words
Stars: ✭ 50 (-20.63%)
Mutual labels:  text-processing
scala-3-crash-course
Scala 3 workshop presenting the top new features of the language.
Stars: ✭ 34 (-46.03%)
Mutual labels:  exercises
elementaryOS-devbook
Design and build apps for elementary OS.
Stars: ✭ 61 (-3.17%)
Mutual labels:  learn-by-doing
s3-concat
Concatenate Amazon S3 files remotely using flexible patterns
Stars: ✭ 32 (-49.21%)
Mutual labels:  text-processing
gonotes
Command line tool to access your kindle clippings
Stars: ✭ 23 (-63.49%)
Mutual labels:  ebooks
s3-utils
Utilities and tools based around Amazon S3 to provide convenience APIs in a CLI
Stars: ✭ 45 (-28.57%)
Mutual labels:  text-processing
TaiwanEbookSearch
Ebook search tool mainly for Taiwan
Stars: ✭ 33 (-47.62%)
Mutual labels:  ebooks
Emotion-recognition-from-tweets
A comprehensive approach on recognizing emotion (sentiment) from a certain tweet. Supervised machine learning.
Stars: ✭ 17 (-73.02%)
Mutual labels:  text-processing
estratto
parsing fixed width files content made easy
Stars: ✭ 12 (-80.95%)
Mutual labels:  text-processing
docker-advance-training-exercise
Materials for Docker Advanced training
Stars: ✭ 14 (-77.78%)
Mutual labels:  exercises
text2video
Text to Video Generation Problem
Stars: ✭ 28 (-55.56%)
Mutual labels:  text-processing
The-C-Programming-Language-2nd-Edition
Source code and solutions of exercises to The C Programming Language 2nd Edition by Brian W. Kernighan and Dennis M. Ritchie
Stars: ✭ 208 (+230.16%)
Mutual labels:  exercises
python-mecab
A repository to bind mecab for Python 3.5+. Not using swig nor pybind. (Not Maintained Now)
Stars: ✭ 27 (-57.14%)
Mutual labels:  text-processing
SuperCombinators
[Deprecated] A Swift parser combinator framework
Stars: ✭ 19 (-69.84%)
Mutual labels:  text-processing
infinite-electron
An Electron-based cross-platform desktop reader for free ebooks
Stars: ✭ 39 (-38.1%)
Mutual labels:  ebooks
javascript-sabuk-putih
Modal Awal Belajar Fundamental Javascript Untuk Mendalami React JS, Vue JS, Angular JS, ataupun Node JS
Stars: ✭ 47 (-25.4%)
Mutual labels:  ebooks
python-intro-to-numpy
Cheat Sheet generated in the Introduction to NumPy course
Stars: ✭ 30 (-52.38%)
Mutual labels:  learn-by-doing

Perl one-liners cookbook

Example based guide for text processing with perl from the command line.

The book also includes exercises to test your understanding, which is presented together as a single file in this repo — Exercises.md

For solutions to the exercises, see Exercise_solutions.md.

See Version_changes.md to keep track of changes made to the book.


E-book

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

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

See https://learnbyexample.github.io/books/ for list of other books

For a preview of the book, see sample chapters

The book can also be viewed as a single markdown file in this repo. See my blogpost on generating pdf/epub from markdown using pandoc if you are interested in the ebook creation process.

For web version of the book, visit https://learnbyexample.github.io/learn_perl_oneliners/


Feedback

Please open an issue if you spot any typo/errors.

⚠️ ⚠️ Please DO NOT submit pull requests. Main reason being any modification requires changes in multiple places.

I'd also highly appreciate your feedback about the book.

Twitter: https://twitter.com/learn_byexample


Table of Contents

  1. Preface
  2. One-liner introduction
  3. Line processing
  4. In-place file editing
  5. Field separators
  6. Record separators
  7. Using modules
  8. Multiple file input
  9. Processing multiple records
  10. Two file processing
  11. Dealing with duplicates
  12. Perl rename command

Acknowledgements

A heartfelt thanks to all my readers. Your valuable support has significantly eased my financial concerns and allows me to continue writing books.


License

The book is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

The code snippets are licensed under MIT, see LICENSE file

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].