Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


s += $7 means "add the content of the 7th column to the total"


Makes sense, thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: