tldr/pages/common/rev.md

12 lines
154 B
Markdown
Raw Normal View History

# rev
> Reverse a line of text.
- Reverse the text string "hello":
`echo "hello" | rev`
- Reverse an entire file and print to stdout:
`rev {{file}}`