Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Assaf Gordon <assafgordon@gmail.com> |
| Newsgroups | gnu.announce |
| Subject | GNU Datamash 1.5 released |
| Date | Tue, 17 Sep 2019 16:25:41 -0600 |
| Lines | 118 |
| Approved | info-gnu@gnu.org |
| Message-ID | <mailman.465.1568768662.2190.info-gnu@gnu.org> (permalink) |
| References | <20190917222541.GA3629@tomato.moose.housegordon.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | usenet.stanford.edu 1568768662 23282 209.51.188.17 (18 Sep 2019 01:04:22 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-datamash@gnu.org |
| To | info-gnu@gnu.org |
| Envelope-to | info-gnu@gnu.org |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=2bWV6ySjDid8dBhllzBivMWJeNwykZ5QA1P+nVTIhWQ=; b=Fk3MjI2i85+gW4twev3ZeNZNdQ/kUWhW/gtpOKuYQCAY8ky+oGT7menSOqjN8PQWLR wYJSvJ+rC9isISRm1zRpTfahYhOI3q7m5/QzRCD54jJYVDQKNq1dcSlJHohgt6lu6mKH xvXvyL6TFh32MiBEUVJ8JYYRReRPCQ7Jva1qtKDgoXQZXbl0NJGlveMQZN/dG+16y2G5 EvLcOCN8TWFuYQo5AD1bFDAUQ8BkLqOUexNCXIUw+UUp9EP7QyMy9BXWuXKRHNtlPDip /cPQTTz9UHEgajsqLQac+eRl8ltXI/SkrszRfguce449y5fDyKTZOJxuvrXh1q5EcLmd ho7g== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=2bWV6ySjDid8dBhllzBivMWJeNwykZ5QA1P+nVTIhWQ=; b=IxhF86kIztrIHecfLJr7lc5xEX5WucBIcTIiCqGRgvCDXTLXVRBYj2Mzm+ygxvcUX7 eKE+T4RKP2xsjWWoYprQids4oUFrPQr4gnQBoJjlsid01hM+uN12INi1M/rwAi5oHWNU pBA9PiATnprqXqzP/05IRqwYUm8SBCYyI8Io+jC80B9ZYM6wU8SF3hmj9TXq4QBzdUyt cdfyfnnDBSFkhFRG/d8M0XJhLTQrdFTrvghKXc3ZMOaysJUcEX63lOri0vxmbK+saYeq 3bfEJeg52A/y8GRJXRqUzKER0poP1pID0LUfjoojHXvHaVHYEyM4u9BsxScAg8k9MzYX i/JA== |
| X-Gm-Message-State | APjAAAXFwW1FFqNZuA0pFpVwxbsDhQkRHuP8VWrJHZUO/Qx9n/WjBcE8 WFjy6SOzXvblAlcl2Q6HOmopYVeJogk= |
| X-Google-Smtp-Source | APXvYqyUcQbWYBxIYXu6IUrBubWMCBu7PyOnHNfqLhRQ/bjGuezFr3mWMHOULP5xWYL1x+0zbKo+yQ== |
| X-Received | by 2002:a17:902:bc41:: with SMTP id t1mr912857plz.99.1568759143889; Tue, 17 Sep 2019 15:25:43 -0700 (PDT) |
| Content-Disposition | inline |
| User-Agent | Mutt/1.11.4 (2019-03-13) |
| X-detected-operating-system | by eggs.gnu.org: Genre and OS details not recognized. |
| X-Received-From | 2607:f8b0:4864:20::634 |
| X-Mailman-Approved-At | Tue, 17 Sep 2019 21:04:19 -0400 |
| X-BeenThere | info-gnu@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Announcements and Requests for Help from the GNU project and the Free Software Foundation <info-gnu.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/info-gnu>, <mailto:info-gnu-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/info-gnu> |
| List-Post | <mailto:info-gnu@gnu.org> |
| List-Help | <mailto:info-gnu-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/info-gnu>, <mailto:info-gnu-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20190917222541.GA3629@tomato.moose.housegordon.com> |
| Xref | csiph.com gnu.announce:1656 |
Show key headers only | View raw
This is to announce datamash-1.5, a new stable release.
Datamash is a command-line program which performs basic numeric,textual
and statistical operations on input textual data files.
GNU Datamash home page:
https://www.gnu.org/software/datamash/
Please report any problem you may experience to the
bug-datamash@gnu.org mailing list.
Happy Hacking!
- Assaf Gordon
==================================================================
Here are the compressed sources and a GPG detached signature[*]:
https://ftp.gnu.org/gnu/datamash/datamash-1.5.tar.gz
https://ftp.gnu.org/gnu/datamash/datamash-1.5.tar.gz.sig
Use a mirror for higher download bandwidth:
https://ftpmirror.gnu.org/datamash/datamash-1.5.tar.gz
https://ftpmirror.gnu.org/datamash/datamash-1.5.tar.gz.sig
[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact. First, be sure to download both the .sig file
and the corresponding tarball. Then, run a command like this:
gpg --verify datamash-1.5.tar.gz.sig
If that command fails because you don't have the required public key,
then run this command to import it:
gpg --keyserver keys.gnupg.net --recv-keys 0A11B61D3657B901
and rerun the 'gpg --verify' command.
==================================================================
The checksums of the archive are:
$ sha1sum datamash-1.5.tar.gz
ba35ed8130005a8a2bb0869f0e67b67378b7d1ce datamash-1.5.tar.gz
$ sha256sum datamash-1.5.tar.gz
226249d5fe54024f96404798778f45963a3041714229d4225cd5d9acdaba21ad datamash-1.5.tar.gz
$ sha512sum datamash-1.5.tar.gz
9f7bff0858a7519ef8efc30ef39c3e99f17e81ed847f1edce6ff28e1191d52fbc173baa5d21d6852effbbf2af800604920d92d412f45519700a9b5809da0e8fa datamash-1.5.tar.gz
$ b2sum datamash-1.5.tar.gz
3b377d5886ac7de0066c30ffa7a8923230b928514274be10b213d1a0631709b1c940a4da07709d0cb67a6719f5da9b9f045b8a5bb519370b64a677d20547aa17 datamash-1.5.tar.gz
==================================================================
NEWS
** New Features
Datamash now accepts backslash-escaped characters in field names.
This allows working with named fields containing dash/mins,colons,commas
or field names starting with digits (Note the interplay between
backslash and shell quoting). The following are equivalent,
and sum an input field named 'FOO-BAR':
datamash -H sum FOO\\-BAR < input.txt
datamash -H sum 'FOO\-BAR' < input.txt
datamash -H sum "FOO\\-BAR" < input.txt
New operations: dirname, basename
These behave just like dirname(1) and basename(1):
$ echo /home/foo/bar.txt | datamash dirname 1 basename 1
/home/foo bar.txt
New operations: extname, barename
'extname' extract the extension of the file name.
'barename' (not to be confused with 'basename') extract the basename
without the extension.
Example:
$ echo /home/foo/bar.tar.gz | datamash barename 1 extame 1
bar tar.gz
New operation: getnum
This operation extracts a number from a string.
'getnum' accepts an optional single letter option:
getnum:n - natural numbers (positive integers, including zero)
getnum:i - integers
getnum:d - decimal point numbers
getnum:p - positive decimal point numbers (this is the default)
getnum:h - hex numbers
getnum:o - octal numbers
Examples:
$ echo foo-42.0-bar | datamash getnum 1
42.0
$ echo foo-42.0-bar | datamash getnum:n 1
42
$ echo foo-42.0-bar | datamash getnum:i 1
-42
$ echo foo-42.0-bar | datamash getnum:d 1
-42.0
New operation: cut
Similar to cut(1), it copies the input field to the output as-is.
The advantage over cut(1) is that combined with datamash's other features,
input fields can be specified by name instead of column number, and
output fields can be re-ordered and duplicated.
Example:
$ printf "a b c\n1 X 6\n" | datamash -W -H cut c,a,c
cut(c) cut(a) cut(c)
6 1 6
** Bug fixes
Datamash now correctly calculates mode/antimode for negative values.
In version 1.4 and earlier, the following produced incorrect results:
$ echo -1 | datamash-1.4 mode 1
1.844674407371e+19
Back to gnu.announce | Previous | Next | Find similar | Unroll thread
GNU Datamash 1.5 released Assaf Gordon <assafgordon@gmail.com> - 2019-09-17 16:25 -0600
csiph-web