On 19/03/15 19:07, Marc Baasten wrote:
Hello all,
I have to look up allot of e-mail addresses in the log files, is it
possible to feed exigrep with a input file ( maybe csv style ) with these
e-mail addresses
and have the output exported to a file.
Sounds like a simple shell loop to me, calling exigrep
Or is possible to do this with a different tool than exigrep which leaves
the exim format intact ?
... or just grep.
while read foo
do
egrep "$foo" mainlog >> output_file
done < file_with_names
--
Cheers,
Jeremy
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/