logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

calc-stats - a series of wrappers for performing basic statistic calculations on files or standard input

Author

       This manpage and the utility were written  by  Dustin  Kirkland  <dustin.kirkland@gmail.com>  for  Ubuntu
       systems  (but  may  be  used  by  others).   Permission is granted to copy, distribute and/or modify this
       document and the utility under the terms of the Apache2 License.

       The complete text of the  Apache2  License  can  be  found  in  /usr/share/common-licenses/Apache-2.0  on
       Debian/Ubuntu systems.

calc-stats                                        26 July 2017                                     calc-stats(1)

Description

       This  suite  of  simple tools will perform efficient statistics calculations on either a file or standard
       input containing numbers (integers or floats), one per line.

        * calc-min will print the largest numeric value from input

        * calc-max will print the smallest numeric value from input

        * calc-mean (and avg) will print the arithmetic mean (average) value from input

        * calc-mode will print the most frequently occurring value from input

        * calc-median will print the middle value of the sorted input

        * calc-stdev will print the standard deviation of all values in the input

        * calc-histogram will print a reverse sorted, weighted distribution of input values

        * calc-sum will calculate the sum of all input values

Name

calc-stats  - a series of wrappers for performing basic statistic calculations on files or standard input
       containing numbers, using awk

Options

       While none of these have options, the input may be specified either as a FILE argument,  or  as  standard
       input.

See Also

awk(1), sort(1), uniq(1)

Synopsis

calc-min [FILE]

       calc-max [FILE]

       calc-mean [FILE]

       calc-avg [FILE]

       calc-median [FILE]

       calc-mode [FILE]

       calc-stdev [FILE]

       calc-histogram [FILE]

       calc-sum [FILE]

See Also