I have an array of files. Now I need to cat each file and search for a list of keywords which is in file keywords.txt
.
my keywords.txt
contains below
AES
3DES
MD5
DES
SHA-1
SHA-256
SHA-512
10.*
http://
www.
@john.com
john.com
and I'm expecting output as below
file jack.txt contains AES:5 (5 line number) http://:55
file new.txt contains 3DES:75 http://:105