I have multiple files
file1.txt
file2.txt
file3.txt
File1.txt
12O 1234567 Alan donald, cortext drive, 12345, AZ, etc.
How can I search all the files for field called state. The files are ziped with .gz extension. And give me the filename & line number where it finds records with state AZ.
file1.txt
file2.txt
file3.txt
File1.txt
12O 1234567 Alan donald, cortext drive, 12345, AZ, etc.
How can I search all the files for field called state. The files are ziped with .gz extension. And give me the filename & line number where it finds records with state AZ.