Hi everyone,
I understand that you can use
to either extract one or several lines from an Output.
However ...
How can it be accomplished to extract several specific lines from an Output ?
Let's say I want only lines 2,5 and 8 ...
Regards,
Thomas
I understand that you can use
Code:
cat something.txt | sed -ne '1p'
cat something.txt | sed -ne '2,4p'
to either extract one or several lines from an Output.
However ...
How can it be accomplished to extract several specific lines from an Output ?
Let's say I want only lines 2,5 and 8 ...
Regards,
Thomas