{ a[i++ % 5 ]=$0} /Deprecated from: 4.2/ {print a[(i-5)%5];print a[(i-4)%5];print a[(i-3)%5];print a[(i-2)%5];i=0} /Deprecated from: 4.2/,/test/ {if($0 !~ /test/) print }