Main index

Introducing UNIX and Linux


Overview
Using filters
      Collating sequence
      Character classes
Character-to-character transformation
Selecting lines by content
      Regular expressions
      Basic regular expressions
      Extended regular expressions
      Grep
Stream editor
      Sed addresses
Splitting a file according to context
Choosing between the three filters
More on Vi
Summary
Exercises

Overview

This chapter covers

  • regular expressions; and
  • simple use of the utilities Grep, Sed and tr.

The purpose of this chapter is to consider in detail three powerful UNIX utilities which are usually used as filters (components of a pipeline).


Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck