Closed ernstki closed 4 years ago
I had a serious misunderstanding about tac
vs. rev
; tac
reverses linewise, re-ordering the lines in the file, but rev
reverses character-wise, without changing the top-to-bottom order of the lines.
They are not drop-in replacements for one another like I mistakenly assumed they were without carefully reading the man pages.
I'm going to close this for now and reopen (with the other fixes you suggest already implemented) once I'm sure I'm doing the right thing here.
NOTE:
tac
is not a substitute forrev
, and this PR was completely wrongheaded from the start. See this comment.