Using sed, how do I return the last occurance of a match until the End Of File? (FYI this has been simplified)
So far I\'ve tried:
sed -n \'/ Statist
If you're happy with an awk solution, this kinda works (apart from getting an extra blank line):
awk
awk '/^Statistics/ { buf = "" } { buf = buf "\n" $0 } END { print buf }' input.txt