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.1. How sed reads data

Sed will read a line of text from a file or from other forms of standard input, and copy it into an editing buffer area. It will then read the first command from either the command line or a script, and using these commands, will find the pattern or address line and edit it. It will then repeat this procedure until there are no more commands left.

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