I have an error report where often the known errors are in the top few thousand lines, formatting issue rather than quantity unfortunately.
I want to run
:g/pattern/ from the end of the file.
:g/pattern/m0 reverses the file which is mainly the same thing but if I don't put it back to how it was the line references are wrong when I query the error.
$,1g/pattern/ but got
Backwards range given, Ok to swap (y/n)?.
Selecting n aborts the command.
Is this achievable?