From a838644666ed470b2988fd02e116c90cde421fcd Mon Sep 17 00:00:00 2001 From: pxgamer Date: Wed, 10 Oct 2018 14:37:35 +0100 Subject: [PATCH] more: add page --- pages/windows/more.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pages/windows/more.md diff --git a/pages/windows/more.md b/pages/windows/more.md new file mode 100644 index 0000000000..7eeb345ffb --- /dev/null +++ b/pages/windows/more.md @@ -0,0 +1,31 @@ +# more + +> Display paginated output from stdin or a file. + +- Display paginated output from stdin: + +`{{echo test}} | more` + +- Display paginated output from one or more files: + +`more {{path/to/file}}` + +- Convert tabs to the specified number of spaces: + +`more {{path/to/file}} /t{{spaces}}` + +- Clear the screen before displaying the page: + +`more {{path/to/file}} /c` + +- Display the output starting at line 5: + +`more {{path/to/file}} +{{5}} + +- Enable extended interactive mode (see help for usage): + +`more {{path/to/file}} /e` + +- Display full usage information: + +`more /?`