cat: added the append example

waldyrious/alt-syntax
Robbie S 2015-12-29 18:45:42 -08:00
parent 4ddaf350f2
commit 2de7c9f932
1 changed files with 6 additions and 2 deletions

View File

@ -2,10 +2,14 @@
> Print and concatenate files. > 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. - Concatenate several files into the target file.
`cat {{file1}} {{file2}} > {{target-file}}` `cat {{file1}} {{file2}} > {{target-file}}`
- Append serveral files into the target file.
`cat {{file1}} {{file2}} >> {{target-file}}`