sed -n '1,2!p' test.txt
## 3 The sed stream editor is a text editor that performs editing operations on information
## 4 coming from standard input or a file. Sed edits line-by-line and in a non-interactive way.
## 5
## 6 This means that you make all of the editing decisions as you are calling the command and
## 7 sed will execute the directions automatically. This may seem confusing or unintuitive,
## 8 but it is a very powerful and fast way to transform text.
sed -n '1~2!p' test.txt
## 2
## 4 coming from standard input or a file. Sed edits line-by-line and in a non-interactive way.
## 6 This means that you make all of the editing decisions as you are calling the command and
## 8 but it is a very powerful and fast way to transform text.