Answers for "how to find last occurrence of a pattern file"

0

how to find last occurrence of a pattern file

tac < fileName | sed  '/EndPattern/,$!d;/StartPattern/q' | tac
Posted by: Guest on April-20-2021

Code answers related to "how to find last occurrence of a pattern file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language