snippetbashTip
rev — Reverse lines of text. More information: <https://keith.github.io/xcode-man-pages/rev.1.html>.
Viewed 0 times
commandlinestextrevcliinformationreversemore
macos
Problem
How to use the
rev command: Reverse lines of text. More information: <https://keith.github.io/xcode-man-pages/rev.1.html>.Solution
rev — Reverse lines of text. More information: <https://keith.github.io/xcode-man-pages/rev.1.html>.Reverse each line in a file to
stdout:rev {{path/to/file}}Reverse each line from
stdin to stdout:{{command}} | revCode Snippets
Reverse each line in a file to `stdout`
rev {{path/to/file}}Reverse each line from `stdin` to `stdout`
{{command}} | revContext
tldr-pages: osx/rev
Revisions (0)
No revisions yet.