Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.41 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.41 KB

Learning sed

There are many guides and books for learning sed, but few are interactive. The goal of this project is to provide a number of lessons with real text files to learn and experiment with. It is self contained and does not require writing your own example data.

I am not an expert on sed, but want to learn more about it.

Who Should Use This

This guide is for people who want to learn sed. You have some familiarity with unix system and using the command line. You have a basic understanding of regular expressions.

How to Use

Clone this repository.

git clone git@github.com:josefalcon/learning-sed.git

Each lesson is in a separate directory with an example file and a README. cd into the lesson folder, and start learning sed!

Structure

  1. stream editor
  2. Addresses
  3. Substitution
  4. Deletion
  5. Multiline & Branching
  6. Hold Space

Resources

  • sedsed: A sed debugger. Useful for understanding and visualizing the pattern and hold space.
  • sed 1 liners