sed : stream editor (cont)
The editing commands are very powerful and subsume the actions of
many of the filters looked at so far.
In addition, sed can:
- partition lines based on patterns rather than columns
- extract ranges of lines based on patterns or line numbers
Option -n (no printing):
- applies all editing commands as normal
- displays no output, unless
p appended to edit command
|