To search for and replace words in a stream (it does so by parsing a file, or stdin, one line at a time and outputing to stdout)
Question
In linux, what is the most common usage of sed?
Answer
?
Question
In linux, what is the most common usage of sed?
Answer
To search for and replace words in a stream (it does so by parsing a file, or stdin, one line at a time and outputing to stdout)
If you want to change selection, open document below and click on "Move attachment"
8. Streams and sed -- The Stream Editor arch-replace operations and insert and delete lines into text files. sed is one of those programs with no man page to speak of. Do info sed to see sed 's comprehensive info pages with examples. <span>The most common usage of sed is to replace words in a stream with alternative words. sed reads from stdin and writes to stdout. Like grep , it is line buffered, which means that it reads one line in at a time and then writes that line out again after performing whateve
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.