Skip to content
Snippets Groups Projects
Commit 536c7b87 authored by jacques.dainat_ird.fr's avatar jacques.dainat_ird.fr
Browse files

Edit bash_manip-7-sed.md

parent f6d861a6
No related branches found
No related tags found
No related merge requests found
Pipeline #84600 passed
...@@ -73,7 +73,6 @@ sed -n 'line p' file ...@@ -73,7 +73,6 @@ sed -n 'line p' file
|----------|----------| ----------| |----------|----------| ----------|
| `sed -n '8p' file` | Print line 8 | | `sed -n '8p' file` | Print line 8 |
| `sed -n '8p; 16p' file` | Print lines 8 and 16 | | `sed -n '8p; 16p' file` | Print lines 8 and 16 |
| `sed -n '8p; 16p' file` | Print lines 8 and 16 |
| `sed -n -e '8p' -e '16p' file` | Print lines 8 and 16 | | `sed -n -e '8p' -e '16p' file` | Print lines 8 and 16 |
| `sed -n '8,16 p' file` | Print lines from 8 to 16 | | `sed -n '8,16 p' file` | Print lines from 8 to 16 |
| `sed '8,$ p' file` | Print lines from line 8 to the end of the file | | `sed '8,$ p' file` | Print lines from line 8 to the end of the file |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment