MacOS has cat, but not tac. Fortunately, Vim came to the rescue with this command: :global/^/move 0 Source: Superuser June 13, 2024 12:12pm Leon Mika