O'Reilly logo

Linux and Unix Shell Programming by David Tansley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10.3. sed and regular expressions

Sed will recognize any of the basic regular expressions and patterns and its rules for matching lines. Remember one of these rules is that if you wish to address a special character you must first escape it with a backslash (\), as this disables the meaning of the special character. Refer back to Chapter 7 on regular expressions if you need to; all expressions we covered in that chapter are quite legal in sed.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required