1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-22 23:55:30 +02:00

gunzip: add option placeholders (#17192)

This commit is contained in:
Managor 2025-07-11 00:44:50 +03:00 committed by GitHub
parent c5cacc4425
commit 9ef08e83e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,15 +9,15 @@
- Extract a file to a target destination:
`gunzip --stdout {{archive.tar.gz}} > {{archive.tar}}`
`gunzip {{[-c|--stdout]}} {{archive.tar.gz}} > {{archive.tar}}`
- Extract a file and keep the archive file:
`gunzip --keep {{archive.tar.gz}}`
`gunzip {{[-k|--keep]}} {{archive.tar.gz}}`
- List the contents of a compressed file:
`gunzip --list {{file.txt.gz}}`
`gunzip {{[-l|--list]}} {{file.txt.gz}}`
- Decompress an archive from `stdin`: