From bb8d1c0897e36969072621b050b9d70b1e27ac9a Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Sat, 1 Oct 2022 10:11:48 +0000 Subject: [PATCH] cat: update placeholders (#8579) --- pages/common/cat.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/common/cat.md b/pages/common/cat.md index 7a1ca1191..569684a3a 100644 --- a/pages/common/cat.md +++ b/pages/common/cat.md @@ -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}}`