Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zxcdw
· 13y ago · 0 comments
I am not familiar with awk, what's the 's+= $7'? What is the argument 2 passed to wc? Why is the produced output different? What am I missing here?
Comments
[–]
coldgrnd
13y ago
s += $7 means "add the content of the 7th column to the total"
[–]
zxcdw
OP
13y ago
Makes sense, thanks!