GNU awk
low risk
Extended awk with -i inplace option. See the flags and examples below, and run `man gawk` for the full reference.
| Flag | Meaning |
|---|---|
-i inplace | -i inplace⚠ Edit files in place |
gawk -F, '{s+=$3} END{print s}' sales.csvSum a column · explain & risk-check →Reference text is hand-written and may be incomplete — check man gawk for your version. Test destructive commands on a non-production system first.