My ebook "CLI text processing with GNU sed" will show you how to perform substitute and other nifty text operations from the command line. This book heavily leans on examples to present features one by one. In addition to command options, regular expressions will also be discussed in detail. Exercises at the end of chapters will help you practice what you've learned and solutions are also provided for reference. External links are provided for further reading.
This video provides an overview of the topics covered in this book. You can buy PDF/EPUB versions of the book using either of the following links:
https://learnbyexample.gumroad.com/l/...
https://leanpub.com/gnu_sed
You can also get the book as part of my "All Books Bundle": https://learnbyexample.gumroad.com/l/...
See my GitHub repo (https://github.com/learnbyexample/lea...) for more details.
Chapters:
1. Preface
2. Introduction
3. In-place file editing
4. Selective editing
5. BRE/ERE Regular Expressions
6. Flags
7. Shell substitutions
8. z, s and f command line options
9. append, change, insert
10. Adding content from file
11. Control structures
12. Processing lines bounded by distinct markers
13. Gotchas and Tricks
14. Further Reading
I would highly appreciate if you'd let me know how you felt about this book. Thank you and happy learning :)