diff options
Diffstat (limited to 'man/man1/sum-up.1')
-rw-r--r-- | man/man1/sum-up.1 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/man/man1/sum-up.1 b/man/man1/sum-up.1 new file mode 100644 index 0000000..ad6350b --- /dev/null +++ b/man/man1/sum-up.1 @@ -0,0 +1,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) |