summaryrefslogtreecommitdiff
path: root/man/man1/sum-up.1
blob: ad6350b1ad8af68c785cf1dd09e6f2725ce3c398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.TH sum-up 1 2022-05-27 utils

.SH NAME
sum-up \- add up rows in a table

.SH SYNOPSIS
.B sum-up

.SH DESCRIPTION
.B sum-up
reads a table from stdin and outputs the sum of
the values from each column per row.

It used to be implemented using
.BR bc (1),
but now uses
.BR python (1),
which has the advantage that it also concatenates strings.

.SH EXAMPLES
.B sum-up
.RI < \ table.tsv

.SH SEE ALSO
.BR sum-down (1)