in reply to Re: Print 4 Lines below matching criteria
in thread Print 4 Lines below matching criteria
Small issue with your program: it will generate warnings if there's an 'id:' string in the last 4 lines of the file, as it will try to read past the end of the file.