GNU Info

Info Node: (sed.info)sed Programs

(sed.info)sed Programs


Next: Examples Prev: Invoking SED Up: Top
Enter node , (file) or (file)node

SED Programs
************

   A SED program consists of one or more SED commands, passed in by one
or more of the `-e', `-f', `--expression', and `--file' options, or the
first non-option argument if zero of these options are used.  This
document will refer to "the" SED script; this will be understood to
mean the in-order catenation of all of the SCRIPTs and SCRIPT-FILEs
passed in.

   Each SED command consists of an optional address or address range,
followed by a one-character command name and any additional
command-specific code.

Addresses
Selecting lines with SED
Regular Expressions
Overview of regular expression syntax
Data Spaces
Where SED buffers data
Common Commands
Often used commands
Other Commands
Less frequently used commands
Programming Commands
Commands for die-hard SED programmers

automatically generated by info2www version 1.2.2.9