Skip to content

Commit ec7b5a3

Browse files
authored
cat: simplify and clarify stdin example (#19205)
1 parent 824d0a4 commit ec7b5a3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pages/linux/cat.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515

1616
`cat {{path/to/file1 path/to/file2 ...}} >> {{path/to/output_file}}`
1717

18-
- Write `stdin` to a file:
18+
- Write to a file interactively:
1919

20-
`cat - > {{path/to/file}}`
20+
`cat > {{path/to/file}}`
2121

2222
- Number all output lines:
2323

2424
`cat {{[-n|--number]}} {{path/to/file}}`
2525

26-
- Display non-printable and whitespace characters (with `M-` prefix if non-ASCII):
26+
- Display all characters, including tabs, line endings, and non-printing characters:
2727

28-
`cat {{[-vte|--show-nonprinting -t -e]}} {{path/to/file}}`
28+
`cat {{[-A|--show-all]}} {{path/to/file}}`

0 commit comments

Comments
 (0)