mirror of https://github.com/CrimsonTome/tldr.git
cat: added the append example
parent
4ddaf350f2
commit
2de7c9f932
|
@ -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}}`
|
||||||
|
|
Loading…
Reference in New Issue