From 6ac40a5b1a902d0c610413d7b6a4ebcd63726092 Mon Sep 17 00:00:00 2001 From: Michael Bemmerl Date: Mon, 28 Dec 2015 22:01:39 +0100 Subject: [PATCH] Add page for 'tac'. --- pages/common/tac.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/common/tac.md diff --git a/pages/common/tac.md b/pages/common/tac.md new file mode 100644 index 000000000..b89ebca45 --- /dev/null +++ b/pages/common/tac.md @@ -0,0 +1,11 @@ +# tac + +> Print and concatenate files in reverse. + +- Print the contents of *file1* reversed to the standard output + +`tac {{file1}}` + +- Concatenate several files reversed into the target file. + +`tac {{file1}} {{file2}} > {{target-file}}`