edit - I was sober too - omg, back to Idiocy for Dummies...m/ \nid: # match new line followed by id: [^\n]* # 0 or more characters that are not new lines \n # a newline ([^\n]*\n){4}) # the next 4 lines and store in $1 /sx; # treat as a '(s)ingle line' and (x) ignore whitesp +ace
In reply to Re: Print 4 Lines below matching criteria
by cLive ;-)
in thread Print 4 Lines below matching criteria
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |