Why don’t you go for awk:
awk '/Start pattern/,/End pattern/' filename
More Related Contents:
- How do I find all files containing specific text on Linux?
- How to find all files containing specific text (string) on Linux?
- grep without showing path/file:line
- Why no output is shown when using grep twice?
- How can I find all files containing specific text (string) on Linux?
- Linux grep command with relevant values as output
- How to exclude a directory in find . command
- How to change the output color of echo in Linux
- How to ‘grep’ a continuous stream?
- How to remove the lines which appear on file B from another file A?
- Fastest way to find lines of a file from another larger file in Bash
- More elegant “ps aux | grep -v grep”
- Find and replace with sed in directory and sub directories
- How to escape single quotes in Bash/Grep?
- Uninstall Node.JS using Linux command line?
- How do I exclude a directory when using `find`?
- Get most recent file in a directory on Linux
- Using curl to send email
- “find: paths must precede expression:” How do I specify a recursive search that also finds files in the current directory?
- How can I find all of the distinct file extensions in a folder hierarchy?
- How do I include a pipe | in my linux find -exec command?
- Linux command to list all available commands and aliases
- Find files and tar them (with spaces)
- extracting unique values between 2 sets/files
- Linux command: How to ‘find’ only text files?
- Using grep and sed to find and replace a string
- Extract lines between two patterns from a file [duplicate]
- Linux removing folders older than 1 year and more than 3 files
- Execute combine multiple Linux commands in one line
- How can I use xargs to copy files that have spaces and quotes in their names?