diff --git a/README.md b/README.md index 95ce80c..cbad248 100644 --- a/README.md +++ b/README.md @@ -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 ] ... + $ gztool [-[abLnsv] #] [-[1..9]AcCdDeEfFhilpPrRStTwWxXz|u[cCdD]] [-I ] ... Note that actions `-bcStT` proceed to an index file creation (if none exists) INTERLEAVED with data flow. As data flow and @@ -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). @@ -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). diff --git a/configure.ac b/configure.ac index 22491c6..16d0ac9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([gztool], [1.3], [roberto.s.galende@gmail.com]) +AC_INIT([gztool], [1.4], [roberto.s.galende@gmail.com]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_PROG_CC AC_PROG_CC_C99 diff --git a/gztool.1 b/gztool.1 index 990af92..da645fb 100644 --- a/gztool.1 +++ b/gztool.1 @@ -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: @@ -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\ ]\ ]\ "files"\ ... +.RI \ [\ [-[abLnsv]\ #]\ [-[1..9]AcCdDeEfFhilpPrRStTwWxXz|u[cCdD]]\ [-I\ ]\ ]\ "files"\ ... .br Note that actions `-bcStT` proceed to an index file creation (if @@ -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.