tldr/pages/common/rev.md

13 lines
210 B
Markdown
Raw Normal View History

# rev
> Reverse a line of text.
> More information: <https://manned.org/rev>.
- Reverse the text string "hello":
`echo "hello" | rev`
- Reverse an entire file and print to `stdout`:
2022-12-04 09:12:49 +00:00
`rev {{path/to/file}}`