≡ Menu

Sed Tips and Tricks

In the previous sed tutorial we discussed about Unix sed command basics and printing lines from a file using sed address and patterns. In this article, let us review how to delete lines from a file using address and patterns with 8 awesome examples. “p” command prints the buffer (remember to use -n option with [...]

{ 27 comments }

Let us review how to print file lines using address and patterns in this first part of sed tutorial. We’ll be posting several awesome sed tutorials with examples in the upcoming weeks. Unix Sed Introduction sed is a “non-interactive” stream-oriented editor. Since its an “non-interactive” it can be used to automate editing if desired. The [...]

{ 44 comments }