sed:sed
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sed:sed [2020/08/17 10:17] – 192.168.1.1 | sed:sed [2020/08/17 10:59] (current) – 192.168.1.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
**sed** is a stream editor used to perform basic text transformations on an input stream (a file or input from a pipeline). | **sed** is a stream editor used to perform basic text transformations on an input stream (a file or input from a pipeline). | ||
+ | |||
+ | sed takes one or more editing commands and applies all of them, in sequence, to each line of input. | ||
+ | |||
+ | After all the commands have been applied to the first input line, that line is output and a second input line is taken for processing, and the cycle repeats. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | [[SED: | ||
---- | ---- | ||
Line 20: | Line 28: | ||
[[SED: | [[SED: | ||
+ | |||
+ | [[SED: | ||
[[SED: | [[SED: | ||
Line 30: | Line 40: | ||
[[SED: | [[SED: | ||
+ | |||
+ | [[SED: | ||
+ | |||
+ | [[SED: | ||
+ | |||
+ | [[SED: | ||
---- | ---- |
sed/sed.1597659435.txt.gz · Last modified: 2020/08/17 10:17 by 192.168.1.1