Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zxcdw
on Dec 30, 2012
|
parent
|
context
|
favorite
| on:
Top Unix Command Line Utilities
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?
coldgrnd
on Dec 30, 2012
[–]
s += $7 means "add the content of the 7th column to the total"
zxcdw
on Dec 30, 2012
|
parent
[–]
Makes sense, thanks!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: