Command-line-text-processing is a curated educational repository providing many examples and tutorials on how to use various command-line tools for processing text: searching, replacing, sorting, transforming, filtering, etc. It covers tools like grep, sed, awk, perl, Ruby one-liners, file attribute commands, sorting, tail/head/less/cat, and many more. It's intended as a learning resource, with explanations, examples, exercises, solutions. It is archived (read-only), but still serves as a large compendium of text processing patterns for Unix-like command line environments. Provides hands-on examples, exercises and solutions so learners can practice. Also has E-book versions (PDF/EPUB) of many chapters so content can be read offline or in nicer formatting.
Features
- Covers many text processing tools: grep (GNU), ripgrep etc., sed, awk, Ruby, Perl one-liners
- Provides hands-on examples, exercises and solutions so learners can practice
- Includes “sorting stuff”, filtering, restructuring text, file attribute commands, line-oriented utilities (head, tail, etc.)
- Content includes chapters/files with screenshots/explanations and comparison of similar tools where relevant
- Also has E-book versions (PDF/EPUB) of many chapters so content can be read offline or in nicer formatting
- Archived as of mid-2024, so it’s stable reference material; not actively maintained but still large learning-value