awk help

Joined
Nov 30, 2015
Messages
1
Reaction score
0
Points
1
Hello,
I want to make an awk function for the terminal that looks through some text files. these text files have several words "det" that equal a number.
I would like the awk function to find the last "det" word and to print out the text file name as well as its number next to it.
Can anyone help me?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top