The book heavily leans on examples to present features of grep as well as regular expressions one by one. It is recommended that you manually type each example and experiment with them. Understanding both the nature of sample input string and the output produced is essential.
You should have prior experience working with command line and bash shell, should know concepts like file redirection, command pipeline and so on.
Exercises are also included to test your understanding.
This open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download GNU GREP and RIPGREP ebook for free in PDF format (0.8 MB).
Table of Contents
Frequently used options
BRE/ERE Regular Expressions
Perl Compatible Regular Expressions
Gotchas and Tricks
The overall aim of this book, an outcome of the European FP7 FET Open NESS project, is to contribute to the ongoing effort to put the quantitative social sciences on a proper footing for the 21st century. A key focus is economics, and its implications on policy making, where the still dominant traditional approach increasingly struggles to capture ...
This book features various studies on democratization, transformation, political and economic development, and security issues in the Organization for Security and Cooperation in Europe (OSCE) geographical region and beyond. Written by experts and academics in the fields of human rights, security, transformation and development, particularly in pos...
This volume offers extensive information on preventive and infection surveillance procedures, routines and policies adapted to the optimal infection control level needed to tackle today's microbes in hospital practice. It especially focuses on preventive measures for serious hospital infections. Each chapter includes a practical section that addres...
This book explores the development, trends and research of library and information sciences (LIS) in the digital age. Inside, readers will find research and case studies written by LIS experts, educators and theorists, most of whom have visited China, delivered presentations there and drafted their articles based on feedback they received. As a res...
This book provides an original and challenging analysis of one of the most pressing social issues of our times: intergenerational inequality. Based on recent mixed-method research, it explores the extent and scope of generational divides through an up-to-date analysis of the changing opportunities for young people in Britain across different life d...
In the current crisis of the capitalist world system, elites promote fear of crime and terrorism to keep and expand their privileges and control the masses. This book offers an analysis of the crisis and strategies for rebellion....