Tac
tac¶
Step-in replacement for 'tac' on systems that lack it. Reverses the line order of a file or stdin using perl, awk, or sed.
Arguments¶
- $1 (string): Optional: file path to reverse; reads stdin if omitted
Exit codes¶
- 0: Always
Output on stdout¶
- Lines in reverse order