1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 06:02:18 +02:00

gzip: split unrelated options into multiple placeholders (#12897)

This commit is contained in:
Vítor Henrique 2024-06-05 12:34:33 -03:00 committed by GitHub
parent fadddb905c
commit e7a44c3673
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,12 +21,12 @@
- Decompress a `gzip` archive specifying the output filename:
`gzip {{-c|--stdout -d|--decompress path/to/file.gz}} > {{path/to/uncompressed_file}}`
`gzip {{-c|--stdout}} {{-d|--decompress}} {{path/to/file.gz}} > {{path/to/uncompressed_file}}`
- Specify the compression level. 1 is the fastest (low compression), 9 is the slowest (high compression), 6 is the default:
`gzip -{{1..9 -c|--stdout path/to/file}} > {{path/to/compressed_file.gz}}`
`gzip -{{1..9}} {{-c|--stdout}} {{path/to/file}} > {{path/to/compressed_file.gz}}`
- Display the name and reduction percentage for each file compressed or decompressed:
`gzip {{-v|--verbose -d|--decompress path/to/file.gz}}`
`gzip {{-v|--verbose}} {{-d|--decompress}} {{path/to/file.gz}}`