mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-14 16:34:04 +09:00
some new commands; lfs wip
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
function printUsage() {
|
||||
println(`Usage: gzip [-c] [-d] file
|
||||
println(`Compresses or de-compresses (with -D flag) a file in-place, or to stdout if -C flag is set.
|
||||
Usage: gzip [-c] [-d] file
|
||||
To compress a file, replacing it with a gzipped compressed version:
|
||||
gzip file.ext
|
||||
To decompress a file, replacing it with the original uncompressed version:
|
||||
gzip -d file.ext.gz
|
||||
To compress a file specifying the output filename:
|
||||
gzip -c file.ext > compressed_file.ext.gz
|
||||
gzip -c file.ext | writeto compressed_file.ext.gz
|
||||
To decompress a gzipped file specifying the output filename:
|
||||
gzip -c -d file.ext.gz > uncompressed_file.ext`)
|
||||
gzip -c -d file.ext.gz | writeto uncompressed_file.ext`)
|
||||
}
|
||||
|
||||
if (exec_args[1] === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user