mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 17:13:50 +02:00
cat: update placeholders (#8579)
This commit is contained in:
parent
c1c500e64f
commit
bb8d1c0897
1 changed files with 7 additions and 7 deletions
|
@ -5,20 +5,20 @@
|
|||
|
||||
- Print the contents of a file to the standard output:
|
||||
|
||||
`cat {{file}}`
|
||||
`cat {{path/to/file}}`
|
||||
|
||||
- Concatenate several files into the target file:
|
||||
- Concatenate several files into an output file:
|
||||
|
||||
`cat {{file1}} {{file2}} > {{target_file}}`
|
||||
`cat {{path/to/file1}} {{path/to/file2}} > {{path/to/output_file}}`
|
||||
|
||||
- Append several files into the target file:
|
||||
- Append several files into an output file:
|
||||
|
||||
`cat {{file1}} {{file2}} >> {{target_file}}`
|
||||
`cat {{path/to/file1}} {{path/to/file2}} >> {{path/to/output_file}}`
|
||||
|
||||
- Number all output lines:
|
||||
|
||||
`cat -n {{file}}`
|
||||
`cat -n {{path/to/file}}`
|
||||
|
||||
- Display non-printable and whitespace characters (with `M-` prefix if non-ASCII):
|
||||
|
||||
`cat -v -t -e {{file}}`
|
||||
`cat -v -t -e {{path/to/file}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue