Hi, guys,
The content of file is below from <UNIX� Shells by Example Fourth Edition>):
My code is below:
gawk -F'[ :]' ' { OFS = "****"; $3 = "(904)"; $8 = $5 + $6 + $7; print } ' lab3.data
The result is below:
So, where is the $1? Why is the variable $8 located at the wired position?