I have a text file that contains user information that looks like:
John, Doe Michael
id:1234567890123 library:ACME
City, state:PUEBLO, CO
Phone:719-555-555
Street:1610 Sorrow AVE APT D
Zip: 81004
I am trying to write a simple perl script that looks for "id:" and then prints the 4 lines below the matching criteria. I have been having trouble accomplishing this, what would be the best way to accomplish this? Thanks for your help.