mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 22:55:43 +02:00
xzless: add examples (#10179)
* xzless: add examples * Apply suggestions from code review Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
parent
4bf8650cdd
commit
866045c716
1 changed files with 10 additions and 2 deletions
|
@ -4,6 +4,14 @@
|
||||||
> See also: `less`.
|
> See also: `less`.
|
||||||
> More information: <https://manned.org/xzless>.
|
> More information: <https://manned.org/xzless>.
|
||||||
|
|
||||||
- Open a compressed file:
|
- View a compressed file:
|
||||||
|
|
||||||
`xzless {{path/to/archive.xz}}`
|
`xzless {{path/to/archive}}`
|
||||||
|
|
||||||
|
- View a compressed file and display line numbers:
|
||||||
|
|
||||||
|
`xzless --LINE-NUMBERS {{path/to/archive}}`
|
||||||
|
|
||||||
|
- View a compressed file and quit if the entire file can be displayed on the first screen:
|
||||||
|
|
||||||
|
`xzless --quit-if-one-screen {{path/to/archive}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue