From 77cfffee6177fb0421fa0fce15d6a1875bde4816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20W=C3=BChrer?= Date: Sat, 18 May 2024 21:04:34 +0200 Subject: manuals, sum-down, radix --- man/man1/sum-up.1 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 man/man1/sum-up.1 (limited to 'man/man1/sum-up.1') 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) -- cgit v1.2.3