{"id":19795615,"url":"https://github.com/dkogan/datamash","last_synced_at":"2026-06-16T14:32:03.889Z","repository":{"id":136714169,"uuid":"492343319","full_name":"dkogan/datamash","owner":"dkogan","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-05T04:17:36.000Z","size":1303,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-11T02:25:36.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dkogan.png","metadata":{"files":{"readme":"README","changelog":"NEWS","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-14T23:09:48.000Z","updated_at":"2022-05-14T23:10:51.000Z","dependencies_parsed_at":"2023-07-07T09:32:48.236Z","dependency_job_id":null,"html_url":"https://github.com/dkogan/datamash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dkogan/datamash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkogan%2Fdatamash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkogan%2Fdatamash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkogan%2Fdatamash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkogan%2Fdatamash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dkogan","download_url":"https://codeload.github.com/dkogan/datamash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dkogan%2Fdatamash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34410780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T07:16:52.587Z","updated_at":"2026-06-16T14:32:03.873Z","avatar_url":"https://github.com/dkogan.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"GNU Datamash\n============\n\nGNU Datamash is a command-line program which performs basic\nnumeric,textual and statistical operations on input textual data files.\n\nit is designed to be portable and reliable, and aid researchers\nto easily automate analysis pipelines, without writing code or even\nshort scripts.\n\nHome page: https://www.gnu.org/software/datamash\n\n\nUsage\n=====\n\nSee `datamash --help` for basic usage information.\n\nSee `man datamash` for examples and operation details.\n\nFor the instrucions manual, see `info datamash` or visit\n  https://www.gnu.org/software/datamash/manual/\n\n\n\nExamples\n========\n\nWhat's the sum and mean of the values in field 1 ?\n\n    $ seq 10 | datamash sum 1 mean 1\n    55 5.5\n\nGiven a file with three columns (Name, College Major, Score),\nwhat is the average, grouped by college major?\n\n    $ cat scores.txt\n    John       Life-Sciences    91\n    Dilan      Health-Medicine  84\n    Nathaniel  Arts             88\n    Antonio    Engineering      56\n    Kerris     Business         82\n    ...\n\n\n    # Sort input and group by column 2, calculate average on column 3:\n\n    $ datamash --sort --group 2  mean 3 \u003c scores.txt\n    Arts             68.9474\n    Business         87.3636\n    Health-Medicine  90.6154\n    Social-Sciences  60.2667\n    Life-Sciences    55.3333\n    Engineering      66.5385\n\nSee more examples at https://www.gnu.org/software/datamash/examples/\n\n\nDownload and Installation\n=========================\n\nDownload the latest source code at https://www.gnu.org/software/datamash .\n\nGeneral installation commands:\n\n    $ tar -xzf datamash-[VERSION].tar.gz\n    $ cd datamash-[VERSION]\n    $ ./configure\n    $ make\n    $ make check\n    $ sudo make install\n\nSee Platform/OS-specific download instructions at\n  https://www.gnu.org/software/datamash/download/\n\n\nTo build from latest git sources, see the HACKING.md file. This file is\navailable when cloning from git, but is not distributed in the tar archive.\nTo clone the git repository run\n    git clone git://git.savannah.gnu.org/datamash.git\nIt is also available online at\n    https://git.savannah.gnu.org/cgit/datamash.git/tree/HACKING.md\n\n\nBASH Auto-completion\n====================\n\nThe datamash package inclueds a bash auto-completion script.\nThe installation location can be controlled using\n\n    ./configure --with-bash-completion-dir=[no|local|global|PATH]\n\nThe options are:\n\n* local  - install under the package's $PREFIX path.\n           typically `/usr/local/share/datamash/bash-completion.d/` ,\n           but can be changed with `./configure --prefix`.\n           This is the default.\n\n* no     - do not install the bash completion script.\n\n* [PATH] - install into the PATH specified on the command line, e.g.\n           `./configure --with-bash-completion-dir=/for/bar/bash-completion.d/`\n\n* global - install into the system's global bash-completion directory,\n           as reported by `pkg-config`. This will be the result of:\n           `pkg-config --variable=completionsdir bash-completion`\n           Which is commonly `/usr/share/bash-completion/completions`\n           or `/etc/bash.d`.\n           If `pkg-config` is not found or if `pkg-config` does not have\n           the config (.pc) file for the bash-completion package,\n           defaults to 'local'.\n\n`local` is the default, and should be used particularly if installing under\na non-default `--prefix` without root permissions.\n`global` should be used if you are installing to default location (/usr/local)\nand have root permissions (e.g. `sudo make install`).\nUsing custom PATH or `global` should be used when packaging datamash for\nfurther distribution.\n\nQuestions and Bug Reports\n=========================\n\n- Please send questions and bug reports to bug-datamash@gnu.org .\n- Searchable archive at https://lists.gnu.org/archive/html/bug-datamash .\n- Subscribe at https://lists.gnu.org/mailman/listinfo/bug-datamash .\n\n\nCopyright and License\n=====================\nCopyright (C) 2013-2021 Assaf Gordon \u003cassafgordon@gmail.com\u003e\n\nLicense: GPL Version 3 (or later).\n\nFor any copyright year range specified as YYYY-ZZZZ in this package\nnote that the range specifies every single year in that closed interval.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkogan%2Fdatamash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdkogan%2Fdatamash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkogan%2Fdatamash/lists"}