Text processing
routinepar 1 commandTotal a column
Print the sum of the second column of table.txt, and nothing else.
Goal
0 / 1 commands
Print the total of the second column of table.txt, and nothing else.
- ·Uses
awk - ·Puts the answer on standard output
$
| Mode | Links | Size | Name |
|---|---|---|---|
| -rw-r--r-- | 1 | 104 | table.txt |
| -rw-r--r-- | 1 | 90 | totals.csv |