mirror of https://github.com/CrimsonTome/tldr.git
more: split util-linux and POSIX implementations (#12171)
* more: add page --------- Co-authored-by: Juri Dispan <juri.dispan@posteo.net>pull/23/head
parent
4845e7cc04
commit
2624ea6a30
|
@ -1,13 +1,18 @@
|
||||||
# more
|
# more
|
||||||
|
|
||||||
> Open a file for interactive reading, allowing scrolling and search.
|
> Interactively display a file, allowing scrolling and searching.
|
||||||
> More information: <https://manned.org/more>.
|
> See also: `less`.
|
||||||
|
> More information: <https://manned.org/more.1p>.
|
||||||
|
|
||||||
- Open a file:
|
- Open a file:
|
||||||
|
|
||||||
`more {{path/to/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}}`
|
`more +{{line_number}} {{path/to/file}}`
|
||||||
|
|
||||||
|
@ -26,7 +31,3 @@
|
||||||
- Display help about interactive commands:
|
- Display help about interactive commands:
|
||||||
|
|
||||||
`h`
|
`h`
|
||||||
|
|
||||||
- Display help:
|
|
||||||
|
|
||||||
`more --help`
|
|
||||||
|
|
|
@ -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`
|
Loading…
Reference in New Issue