Comment on Top Unix Command Line UtilitiesparentComments−zxcdw13yI 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?−coldgrndOP13ys += $7 means "add the content of the 7th column to the total"−zxcdw13yMakes sense, thanks!
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?
s += $7 means "add the content of the 7th column to the total"
Makes sense, thanks!