18 Mar
2013
18 Mar
'13
7:36 p.m.
This simple script and diff and manual changes against appropriate files. #!/var/zope/python/bin/python f = open("Data.fs.tr0", "r+ab") c = f.read() s='__name__q' a = c.split(s) i = 0 print(len(a)) for polozka in a: i = i + 1 fn = 'vystup_' + str(i) x = open(fn,"ab") x.write(polozka) x.close() f.close() Lucky that it was no much of filenames. Select both files in Total Commander, then File - Diff - uncheck binary and check again - Edit, helps a lot. For bigger truncated slices it could be better to do it with filename support etc. Regards, JL.