Display a block of text with delineated by a start pattern and an end pattern


Taken idea from The command will display a segment from the file from the start pattern to the end pattern. function viewsegment() { tail -n +`fgrep -n -m 1 “$1” $3 | …

This website uses cookies to ensure you get the best experience on our website. Learn more Got it