Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep all lines until match

sed -n -e '/Word A/,/Word D/ p' file
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #grep #lines #match
ADD COMMENT
Topic
Name
1+5 =