say i have a txt file with a few paragraphs.

for example:
There was some urgency to approve the $6.5 billion bill. Medicare officials announced last week that the program would begin processing claims it had already received for June at the lower rate

The money had been part of a larger bill to extend unemployment benefits for laid-off workers and provide states with billions of dollars to avert layoffs. That bill has been blocked by Senate Republicans because of the cost

The measure delays cuts through the end of November while lawmakers work on a more permanent solution


Is there a way to use grep to find the word 'was' and 'of' in each PARAGRAPH? Each paragraph is divided by a emty row.
Can anybody write me this script?
i want both `of` and 'and' in the same paragraph. Its a and, not an or.
And they dont need to be in the same line. Is it possible with an awk command?