I have a file containing 8 columns, One of my tasks is to get the values of Column 3 and if the value of the row is not equal to 123 the 8 coloumns will be printed and hence If column 3 is equal to 123 nothing will be printed part of the program is -> testing=`echo $C3  | awk '!/123/ {print $C1, $C2, $C3, $C4, $C5, $C6, $C7, $C8,}'>>final.txt` and the related error is awk: illegal field $(), name C1 input record number 1, file  source line number 1where I found that for  Lines not containing 123: it can be scripted as awk '!/123/'from https://stackoverflow.com/questions/3548453/negative-matching-using-grep-match-lines-that-do-not-contain-fooI also tried testing=`echo $C3  | awk '!/123/ ; END {print $C1, $C2, $C3, $C4, $C5, $C6, $C7, $C8,}'>>final.txt` however it also gives an error.thanks in advance 
Trying to Use awk by implementating a condition and implication
shell script;awk;pipe