Reading a subset of the lines in a text file, with bash
Posted
by Markus
on Stack Overflow
See other posts from Stack Overflow
or by Markus
Published on 2009-07-05T07:04:21Z
Indexed on
2010/03/23
8:53 UTC
Read the original article
Hit count: 222
bash
Hi! I have a file
line a - this is line a
line b - this is line b
line c - this is line c
line d - this is line d
line e - this is line e
The question is: How can I output the lines starting from "line b" till "line d" using bash commands? I mean, to obtain:
"line b - this is line b
line c - this is line c
line d - this is line d"
© Stack Overflow or respective owner