I thought any time you needed to get the value from a variable you had to use echo? no I guess not.
foo="hello cruel world" echo $foo | awk '{print $1,$3}'
I will investigate your awk command further, I know a tiny about it but know it is its own programming language and am scared to even look at the chapter on it in my book