more: split util-linux and POSIX implementations (#12171)

* more: add page

---------

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
pull/23/head
Vitor Henrique 2024-02-13 02:31:15 -03:00 committed by GitHub
parent 4845e7cc04
commit 2624ea6a30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 37 additions and 7 deletions

View File

@ -1,13 +1,18 @@
# more
> Open a file for interactive reading, allowing scrolling and search.
> More information: <https://manned.org/more>.
> Interactively display a file, allowing scrolling and searching.
> See also: `less`.
> More information: <https://manned.org/more.1p>.
- Open a file:
`more {{path/to/file}}`
- Open a file displaying from a specific line:
- Search case-[i]nsensitively when pressing "/":
`more -i {{path/to/file}}`
- Display a specific line:
`more +{{line_number}} {{path/to/file}}`
@ -26,7 +31,3 @@
- Display help about interactive commands:
`h`
- Display help:
`more --help`

29
pages/linux/more.md Normal file
View File

@ -0,0 +1,29 @@
# more
> Interactively display a file, allowing scrolling and searching.
> See also: `less`.
> More information: <https://manned.org/more>.
- Open a file:
`more {{path/to/file}}`
- Display a specific line:
`more +{{line_number}} {{path/to/file}}`
- Go to the next page:
`<Space>`
- Search for a string (press `n` to go to the next match):
`/{{something}}`
- Exit:
`q`
- Display help about interactive commands:
`h`