Answers for "last occurrence of string in file using view"

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 "last occurrence of string in file using view"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language