diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-11-07 22:13:40 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-11-07 22:13:40 +0100 |
commit | d0fa8ffb43684853b626595abd3d650e86ef4d63 (patch) | |
tree | aad827697bf9318c826c1105d79feffbca4757df /src/cli/tac.md | |
parent | 1070b7b60308925b9c0f98075c354bb05b6f25ca (diff) | |
download | notes-d0fa8ffb43684853b626595abd3d650e86ef4d63.tar.gz notes-d0fa8ffb43684853b626595abd3d650e86ef4d63.zip |
cli: add cut and rev, update tac
Diffstat (limited to 'src/cli/tac.md')
-rw-r--r-- | src/cli/tac.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cli/tac.md b/src/cli/tac.md index eba42ba..56ab92c 100644 --- a/src/cli/tac.md +++ b/src/cli/tac.md @@ -4,9 +4,9 @@ # Reverse output lines of file(s) and concatenate (reverse of cat). tac FILE [FILE] -echo -e 'aa\nbb\ncc\ndd' | tac -# dd -# cc -# bb -# aa +echo -e 'a1\nb2\nc3\nd4' | tac +# d4 +# c3 +# b2 +# a1 ``` |