GNU SED

Awesome stream editor

by Sundeep Agarwal

DescriptionTable of ContentsDetailsHashtagsReport an issue

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

Publisher
Self-publishing
Published
2020
Pages
100
Edition
1
Language
English
PDF Size
0.7 MB
License
CC BY-NC-SA

Related Books

Marine Carbon Biogeochemistry
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...
Effective AWK Programming
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, ...
Grassroots Politics and Oil Culture in Venezuela
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 such a...
Assessing Recent Soil Erosion Rates through the Use of Beryllium-7 (Be-7)
This book is the first comprehensive guideline for the beryllium-7 (Be-7) technique that can be applied to evaluate short-term patterns and budgets of soil redistribution in agricultural landscapes. While covering the fundamental and basic concepts of the approach, this book distinguishes itself from other publications by offering step-by-step inst...
Habitats and Biota of the Gulf of Mexico: Before the Deepwater Horizon Oil Spill
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...
Deltas in the Anthropocene
The Anthropocene is the human-dominated modern era that has accelerated social, environmental and climate change across the world in the last few decades. This book examines the challenges the Anthropocene presents to the sustainable management of deltas, both the many threats as well as the opportunities. In the world's deltas the Anthropocene is ...