.TH TOTAL 1 .SH NAME total \- add numbers in first column, write total .SH SYNOPSIS .B total .IR file ... .SH DESCRIPTION .B total reads files named on the command line, or the standard input if none given, and adds together the numbers in the first column of each line. At the end, it writes out the sum.