Working with grep, sed, and awk Pocket Primer
Author | : OSWALD CAMPESATO |
Publisher | : Walter de Gruyter GmbH & Co KG |
Total Pages | : 258 |
Release | : 2023-08-21 |
ISBN-13 | : 9781501518232 |
ISBN-10 | : 1501518232 |
Rating | : 4/5 (32 Downloads) |
Download or read book Working with grep, sed, and awk Pocket Primer written by OSWALD CAMPESATO and published by Walter de Gruyter GmbH & Co KG. This book was released on 2023-08-21 with total page 258 pages. Available in PDF, EPUB and Kindle. Book excerpt: The goal of this book is to introduce readers to three powerful command line utilities that can be combined to create simple yet powerful shell scripts for performing a multitude of tasks. The code samples and scripts use the bash shell, and typically involve very small text files so that you can focus on understanding the features of grep, sed, and awk. In the simplest terms, grep (global regular expression print) will search input files in data for certain words or word patterns and print the lines that match it. sed is useful for changing or modifying data. Awk is a programming language also used for searching a data file for certain patterns, but can also perform certain tasks on the pattern matches it finds. Aimed at a reader relatively new to working in a bash environment, the book is comprehensive enough to be a good reference and teach a few new tricks to those who already have some experience with these command line utilities.