Skip to content

Commit

Permalink
v1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
circulosmeos committed Jul 8, 2021
1 parent 9128656 commit ef1e40c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ Copy gztool.c to the directory where you compiled zlib, and do:
Usage
=====

gztool (v1.3)
gztool (v1.4)
GZIP files indexer, compressor and data retriever.
Create small indexes for gzipped files and use them
for quick and random-positioned data extraction.
No more waiting when the end of a 10 GiB gzip is needed!
//github.com/circulosmeos/gztool (by Roberto S. Galende)

$ gztool [-[abLnsv] #] [-[1..9]cCdDeEfFhilpPrRStTwWxXz|u[cCdD]] [-I <INDEX>] <FILE>...
$ gztool [-[abLnsv] #] [-[1..9]AcCdDeEfFhilpPrRStTwWxXz|u[cCdD]] [-I <INDEX>] <FILE>...

Note that actions `-bcStT` proceed to an index file creation (if
none exists) INTERLEAVED with data flow. As data flow and
Expand All @@ -117,6 +117,8 @@ Usage
-[1..9]: Factor of compression to use with `-[c|u[cC]]`, from
best speed (`-1`) to best compression (`-9`). Default is `-6`.
-a #: Await # seconds between reads when `-[ST]|Ec`. Default is 4 s.
-A: Modifier for `-[rR]` to indicate the range of bytes/lines in
absolute values, instead of the default incremental values.
-b #: extract data from indicated uncompressed byte position of
gzip file (creating or reusing an index file) to STDOUT.
Accepts '0', '0x', and suffixes 'kmgtpe' (^10) 'KMGTPE' (^2).
Expand Down Expand Up @@ -428,7 +430,7 @@ Other interesting links
Version
=======

This version is **v1.3**.
This version is **v1.4**.

Please, read the *Disclaimer*. In case of any errors, please open an [issue](https://github.com/circulosmeos/gztool/issues).

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([gztool], [1.3], [[email protected]])
AC_INIT([gztool], [1.4], [[email protected]])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CC
AC_PROG_CC_C99
Expand Down
7 changes: 5 additions & 2 deletions gztool.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH gztool 1 "Jul 07 2021" "gztool v1.3"
.TH gztool 1 "Jul 08 2021" "gztool v1.4"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
Expand All @@ -21,7 +21,7 @@
gztool \- extract random-positioned data from gzip files, even like `tail -f`
.SH SYNOPSIS
.B gztool
.RI \ [\ [-[abLnsv]\ #]\ [-[1..9]cCdDeEfFhilpPrRStTwWxXz|u[cCdD]]\ [-I\ <INDEX>]\ ]\ "files"\ ...
.RI \ [\ [-[abLnsv]\ #]\ [-[1..9]AcCdDeEfFhilpPrRStTwWxXz|u[cCdD]]\ [-I\ <INDEX>]\ ]\ "files"\ ...
.br

Note that actions `-bcStT` proceed to an index file creation (if
Expand Down Expand Up @@ -63,6 +63,9 @@ compression factor to use with `-[c|u[cC]]`, from best speed (`-1`) to best comp
.BR \-a\ #
Await # seconds between reads when `-[ST]|Ec`. Default is 4 s.
.TP
.BR \-A
modifier for `-[rR]` to indicate the range of bytes/lines in absolute values, instead of the default incremental values.
.TP
.BR \-b\ #
extract data from indicated uncompressed byte position of
gzip file (creating or reusing an index file) to STDOUT.
Expand Down

0 comments on commit ef1e40c

Please sign in to comment.