I would like to delete all the lines which have blank fields from text files. How can I change the following code to make the changes directly to the files?
awk '!/^\t|\t\t|\t$/' *.txt
AD 125.9 MN 124.9
AC 38.9 VG 13.2
AV 34.6 BG 33.0
GL 126.2
CY 34.9
CY 44.9
desired output
AD 125.9 MN 124.9
AC 38.9 VG 13.2
AV 34.6 BG 33.0