s = "BBBB" # ezt keressuk a sorok elejen
A = 5 # hany sort mutassunk egy talalat utan
a = 0
f = open('valami.txt','r')
while True:
l = f.readline()
if l == '': break
p = False
if a>0:
p = True
a -= 1
if l.startswith(s):
p = True
a = A
if p:
print l
~~~~~~~~
deb http://deb.uucp.hu/ wheezy yazzy repack