Annotation of cdli/tools/extractPNumbers.py, revision 1.1

1.1     ! dwinter     1: ret = []
        !             2: f = file("/tmp/basket.atf")
        !             3: for l in f.readlines():
        !             4:    
        !             5:     if l.startswith("&P"):
        !             6:         ret.append(l[1:8]+"\n")
        !             7:         print l[1:8]
        !             8: print ret
        !             9: f = file("/tmp/basket.pnums","w")
        !            10: f.writelines(ret)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>