tac command for MoonX.
moonx cli/tac input.txt
printf 'one\ntwo\n' | moonx cli/tac
moonx cli/tac -s : input.txt| Option | Description |
|---|---|
| -b, --before | Attach separators to the following record. |
| -s VALUE, --separator VALUE | Set a separator; empty fixed separator means NUL. Default: "\n". |
| -r, --regex | Interpret the separator using GNU Emacs byte regex syntax. |
| --help | Show help. |
| --version | Show the version. |