1
0
Fork 0
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:
CleanMachine1 2022-10-01 10:11:48 +00:00 committed by GitHub
parent c1c500e64f
commit bb8d1c0897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}}`