💾 Archived View for freeshell.de › tldr › datamash.gmi captured on 2022-06-11 at 21:36:21. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

datamash

Tool to perform basic numeric, textual and statistical operations on input textual data files.

More information.

seq 3 | datamash max 1 min 1 mean 1 median 1
echo -e '1.0\n2.5\n3.1\n4.3\n5.6\n5.7' | tr '.' ',' | datamash mean 1
echo -e '1\n2\n3\n4\n5\n5' | datamash -R {number_of_decimals_wanted} mean 1
echo -e '1\n2\nNa\n3\nNaN' | datamash --narm mean 1
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY