Hello I have a log file like so
2009-01-15 17:55:06 H=host-216-153-217-114.spr.choiceone.net [216.153.217.114]:30675 I=[215.112.96.239]:25 F=<> rejected RCPT <feast@test.co.uk>: DNSBL listed at sbl-xbl.spamhaus.org
What I am trying to do is be able to print x amount of columns after a certain part of the line say F=
grep test.co.uk rejectlog | awk -FF\= '{print $1,$3}'
so get
rejected <feast@test.co.uk>
but the cmd above prints every thing before the F=
Awk is new to me so happy to do some reading if any one would care to point me in the right direction
Thanks