Hi,
i have a couple of text files with id numbers in a single column as follows:
File1
--------
v456
v567
v890
v345
and
File2
-------
v8907345
v2345873
v3678907
These are id's which i need to search in a bunch of Log files in a directory.
i need to make up a report if any of the id's in File1 or File2 are found in the LogFile then
Something similar to the following:-----
REPORT
-------------
LOGFILE NAME: (Where the ID was found)
IDActual ID)
TYPE: FILE1/FILE2
is there a faster way to achieve this through AWK
Any help would be appreciated.
Thanks in Advance
Ajay
i have a couple of text files with id numbers in a single column as follows:
File1
--------
v456
v567
v890
v345
and
File2
-------
v8907345
v2345873
v3678907
These are id's which i need to search in a bunch of Log files in a directory.
i need to make up a report if any of the id's in File1 or File2 are found in the LogFile then
Something similar to the following:-----
REPORT
-------------
LOGFILE NAME: (Where the ID was found)
IDActual ID)
TYPE: FILE1/FILE2
is there a faster way to achieve this through AWK
Any help would be appreciated.
Thanks in Advance
Ajay