linux:sed
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:sed [2020/08/31 06:30] – external edit 127.0.0.1 | linux:sed [2022/11/23 12:49] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| To delete line 7 of test.txt | To delete line 7 of test.txt | ||
| < | < | ||
| + | ===== Delete Line with Text ===== | ||
| + | < | ||
| =====Append to All Lines===== | =====Append to All Lines===== | ||
| To add text to the end of each line in the file test.txt and put the result into test2.txt | To add text to the end of each line in the file test.txt and put the result into test2.txt | ||
linux/sed.1598855443.txt.gz · Last modified: (external edit)
