Sundeep Agarwal’s Learn By Example series of ebooks is an invaluable source for learning programming and CLI text processing.
Earlier this year, Agarwal updated his CLI text processing with GNU grep and ripgrep ebook, adding a new chapter devoted to ripgrep.
Agarwal is generous in making his book available to read online, but he also makes his books available as PDF/EPUB for an extremely reasonable price.