Difference between revisions of "Datamash"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
== Basic Usage ==
 
== Basic Usage ==
 
* <code>seq 10 | datamash --header-out min 1 mean 1 median 1 max 1 sstdev 1 count 1</code>
 
* <code>seq 10 | datamash --header-out min 1 mean 1 median 1 max 1 sstdev 1 count 1</code>
* Add two numbers: <code>echo -e "100 \n 50" | datamash sum 1</code>
+
* Add two numbers: <code>echo -e "100\n 50" | datamash sum 1</code>
  
 
== See also ==
 
== See also ==
 
* [[MATLAB/Octave]]
 
* [[MATLAB/Octave]]

Revision as of 18:26, 25 December 2019

datamash[1] is a command-line program which performs basic numeric and statistical operations.

Basic Usage

  • seq 10 | datamash --header-out min 1 mean 1 median 1 max 1 sstdev 1 count 1
  • Add two numbers: echo -e "100\n 50" | datamash sum 1

See also

  • https://www.gnu.org/software/datamash/
  • Advertising: