From 4db7b759098dd481ebc47832604912b35b832b1f Mon Sep 17 00:00:00 2001 From: Igor Shubovych Date: Sat, 10 May 2014 15:23:41 +0300 Subject: [PATCH 1/2] Pages: cat --- pages/common/cat.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/common/cat.md diff --git a/pages/common/cat.md b/pages/common/cat.md new file mode 100644 index 0000000000..4bc99819c4 --- /dev/null +++ b/pages/common/cat.md @@ -0,0 +1,11 @@ +# cat + +> Print and concatenate files. + +- Print the contents of *file1* to the standard output + +`cat file1` + +- Sequentially print the contents of *file1* and *file2* to the file *file3*. + +`cat file1 file2 > file3` \ No newline at end of file From 9639c3d86995e408883412aafbde06d7ab5e3a20 Mon Sep 17 00:00:00 2001 From: Igor Shubovych Date: Mon, 12 May 2014 14:30:53 +0300 Subject: [PATCH 2/2] cat: adding {{token}} syntax --- pages/common/cat.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/cat.md b/pages/common/cat.md index 4bc99819c4..8ca60dcfbc 100644 --- a/pages/common/cat.md +++ b/pages/common/cat.md @@ -4,8 +4,8 @@ - Print the contents of *file1* to the standard output -`cat file1` +`cat {{file1}}` - Sequentially print the contents of *file1* and *file2* to the file *file3*. -`cat file1 file2 > file3` \ No newline at end of file +`cat {{file1}} {{file2}} > {{file3}}` \ No newline at end of file