awk print only fields that matches an regexp
Posted on 2003-10-22
I have a txt file with som mail adressess that are collected out of my maildir,
now I want awk to print all the mail adressess that matches a regexp.
There is no logical system in the file, so awk will have to check every word.
The file looks something like this:
> an djfklds sdkfjdf %mailadress% dfklødf
to: "jherwkejrh" <%mailadress%>
But there is no system in the since it's been awk'ed out of
Can someone help me with this ?