Book Description
The book heavily leans on examples to present features of sed 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.
This open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download GNU SED ebook for free in PDF format (0.7 MB).
Table of Contents
Chapter 1
In-place file editing
Chapter 2
Selective editing
Chapter 3
BRE/ERE Regular Expressions
Chapter 4
Flags
Chapter 5
Shell substitutions
Chapter 6
z, s and f command line options
Chapter 7
append, change, insert
Chapter 8
Adding content from file
Chapter 9
Control structures
Chapter 10
Processing lines bounded by distinct markers
Chapter 11
Gotchas and Tricks
Book Details
Title
GNU SED
Subject
Computer Science
Publisher
Self-publishing
Published
2020
Pages
100
Edition
1
Language
English
PDF Size
0.7 MB
License
The Gulf of Mexico is an open and dynamic marine ecosystem rich in natural resources but heavily impacted by human activities, including agricultural, industrial, commercial and coastal development. Nutrients and pollutants from coastal communities and dozens of rivers flow into the Gulf, including material from the Mississippi River watershed, whi...
The utility simply known as make is one of the most enduring features of both Unix and other operating systems. First invented in the 1970s, make still turns up to this day as the central engine in most programming projects; it even builds the Linux kernel. In the third edition of the classic Managing Projects with GNU make, readers will learn why ...
The GNU Debugger allows you to see what is going on "inside" a program while it executes - or what a program was doing at the moment it crashed. GDB supports C, C++, Java, Fortran and Assembly among other languages; it is also designed to work closely with the GNU Compiler Collection (GCC). The GNU Debugger Program has four special featur...
This book discusses biogeochemical processes relevant to carbon and aims to provide readers, graduate students and researchers, with insight into the functioning of marine ecosystems. A carbon centric approach has been adopted, but other elements are included where relevant or needed. The book focuses on concepts and quantitative understanding of p...
When processing text files, the awk language is ideal for handling data extraction, reporting, and data-reformatting jobs. This practical guide serves as both a reference and tutorial for POSIX-standard awk and for the GNU implementation, called gawk. This book is useful for novices and awk experts alike.
In this thoroughly revised 5th edition, ...
This book presents an ethnographic study of how grassroots activism in Venezuela during the Chávez presidency can be understood in relation to the country's history as a petro-state. Taking the contested relationship between the popular sectors and the Venezuelan state as a point of departure, Iselin Åsedotter Strønen explores how notions s...