From 2de7c9f932b0c69abeaa0e6ae12eace2124f2edf Mon Sep 17 00:00:00 2001 From: Robbie S Date: Tue, 29 Dec 2015 18:45:42 -0800 Subject: [PATCH] cat: added the append example --- pages/common/cat.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/common/cat.md b/pages/common/cat.md index 3122ae471..a9c03f681 100644 --- a/pages/common/cat.md +++ b/pages/common/cat.md @@ -2,10 +2,14 @@ > Print and concatenate files. -- Print the contents of *file1* to the standard output +- Print the contents of a file to the standard output -`cat {{file1}}` +`cat {{file}}` - Concatenate several files into the target file. `cat {{file1}} {{file2}} > {{target-file}}` + +- Append serveral files into the target file. + +`cat {{file1}} {{file2}} >> {{target-file}}`