diff options
author | Lars Wirzenius <liw@iki.fi> | 2008-01-24 17:50:00 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@iki.fi> | 2008-01-24 17:50:00 +0200 |
commit | bccf9213c48251f1dbc34157e86cfdbcefc0b60c (patch) | |
tree | 871f7bbc3972136499102faac5671827b8e0684f | |
parent | 1694c9af851c1580d7167bd7718364311555cf9f (diff) | |
download | extrautils-bccf9213c48251f1dbc34157e86cfdbcefc0b60c.tar.gz |
Wrote a total command, inspired by something I saw cjwatson say on irc.
-rwxr-xr-x | total | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -0,0 +1,4 @@ +#!/usr/bin/awk -f + +{ total += $1 } +END { print total } |