Y
Hacker News
new
|
ask
|
show
|
jobs
by
zxcdw
4916 days ago
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?
1 comments
coldgrnd
4916 days ago
s += $7 means "add the content of the 7th column to the total"
link
zxcdw
4916 days ago
Makes sense, thanks!
link