What I did: Create New, A4 Portrait Document. File/Save, test.pub File/Save C:> copy test.pub test1.pub File/Save So, probably a couple of seconds between test1.pub (the original) and test.pub (the subsequent save). No more than 10. Really, no more than 5 seconds. phtml test.pub test1.pub (note: do it this way around for consistency, otherwise it's skipB, not skipA, etc: $ egrep "(yellow|lightblue)" outfile*|wc -l 7246 Skip to "START OF REAL ANALYSIS" to skip the boring stuff of finding that 26 bytes in the filename made 2 changes to parts of the files. The meat seems to be in outfile6. We get down to 198 bytes in diffs. Of these, 35 are filename diffs which I didn't block out. These diffs are in files 1,5,6,7 (of 7) phtml.c: if (i==48740) { printf("\nSkipping - see %s\n", filename); skipA(&i, &x,26, a); // often 64 } $ egrep "(yellow|lightblue)" outfile*|wc -l 2165 That's made a difference. The filename being VFAT or 8.3 Format makes some difference. Why it would change, I have no idea. outfile5.html is pretty much all in the filename. One or two other bytes differ: 48648 137010 130 82 104 68 'h' 48666 137032 130 82 104 68 'h' 48670 137036 242 f2 216 d8 48684 137054 198 c6 172 ac 48724 137124 130 82 104 68 'h' 48730 137132 112 70 'p' 86 56 'V' outfile6 has 1804 diffs! 56996 157244 64 40 '@' 38 26 '&' In the middle of random crap This goes on sporadically for a while... 57065 157351 17 11 16 10 This happens a few times 57979 161173 30 1e 29 1d This is the final diff for a while 57980 161174 8 8 8 8 57981 161175 8 8 8 8 57982 161176 11 b 11 b 57983 161177 24 18 24 18 57984 161200 20 14 20 14 57985 161201 0 0 0 0 Then loads of zeroes. 57986 161202 0 0 0 0 57987 161203 0 0 0 0 57988 161204 0 0 0 0 57989 161205 0 0 0 0 57990 161206 0 0 0 0 57991 161207 0 0 0 0 57992 161210 0 0 0 0 57993 161211 0 0 0 0 if (i==58362) { printf("\nSkipping - see %s\n", filename); skipB(i, &x,26, b); } Down to 477 diffs in outfile6, 560 total. (in files 1,5,6). This means that the skip 15 48740 is still in effect (ie, in the same block as) 58362. --- START OF REAL ANALYSIS. So, with these two skips (really just one skip, and then another to balance it), the diffs are: 1: 40 5: 43 6: 477 OUTFILE1: 40 diffs. 4 diffs: 1132 2154 224 e0 16 10 1133 2155 119 77 'w' 36 24 '$' 1134 2156 122 7a 'z' 105 69 'i' 1135 2157 46 2e '.' 44 2c ',' 1136 2160 29 1d 29 1d 1137 2161 170 aa 170 aa 1138 2162 199 c7 199 c7 8 diffs: 1252 2344 224 e0 32 20 ' ' 1253 2345 119 77 'w' 218 da 1254 2346 122 7a 'z' 102 66 'f' 1255 2347 46 2e '.' 44 2c ',' 1256 2350 29 1d 29 1d 1257 2351 170 aa 170 aa 1258 2352 199 c7 199 c7 1259 2353 1 1 1 1 1260 2354 224 e0 16 10 1261 2355 119 77 'w' 36 24 '$' 1262 2356 122 7a 'z' 105 69 'i' 1263 2357 46 2e '.' 44 2c ',' 1264 2360 29 1d 29 1d 1265 2361 170 aa 170 aa 1266 2362 199 c7 199 c7 8 diffs: 1380 2544 224 e0 32 20 ' ' 1381 2545 119 77 'w' 218 da 1382 2546 122 7a 'z' 102 66 'f' 1383 2547 46 2e '.' 44 2c ',' 1384 2550 29 1d 29 1d 1385 2551 170 aa 170 aa 1386 2552 199 c7 199 c7 1387 2553 1 1 1 1 1388 2554 224 e0 16 10 1389 2555 119 77 'w' 36 24 '$' 1390 2556 122 7a 'z' 105 69 'i' 1391 2557 46 2e '.' 44 2c ',' 1392 2560 29 1d 29 1d 1393 2561 170 aa 170 aa 1394 2562 199 c7 199 c7 1395 2563 1 1 1 1 8 diffs: 1508 2744 224 e0 32 20 ' ' 1509 2745 119 77 'w' 218 da 1510 2746 122 7a 'z' 102 66 'f' 1511 2747 46 2e '.' 44 2c ',' 1512 2750 29 1d 29 1d 1513 2751 170 aa 170 aa 1514 2752 199 c7 199 c7 1515 2753 1 1 1 1 1516 2754 224 e0 16 10 1517 2755 119 77 'w' 36 24 '$' 1518 2756 122 7a 'z' 105 69 'i' 1519 2757 46 2e '.' 44 2c ',' 1520 2760 29 1d 29 1d 1521 2761 170 aa 170 aa 1522 2762 199 c7 199 c7 1523 2763 1 1 1 1 8 diffs: 1636 3144 224 e0 32 20 ' ' 1637 3145 119 77 'w' 218 da 1638 3146 122 7a 'z' 102 66 'f' 1639 3147 46 2e '.' 44 2c ',' 1640 3150 29 1d 29 1d 1641 3151 170 aa 170 aa 1642 3152 199 c7 199 c7 1643 3153 1 1 1 1 1644 3154 224 e0 32 20 ' ' 1645 3155 119 77 'w' 218 da 1646 3156 122 7a 'z' 102 66 'f' 1647 3157 46 2e '.' 44 2c ',' 1648 3160 29 1d 29 1d 1649 3161 170 aa 170 aa 1650 3162 199 c7 199 c7 1 diff: 2040 3770 130 82 104 68 'h' 1 diff: 3472 6620 2 2 3 3 1 diff: 3500 6654 3 3 2 2 1 diff: 3508 6664 2 2 3 3 OUTFILE 5: 43 diffs. 48648 137010 130 82 104 68 'h' 48666 137032 130 82 104 68 'h' 48670 137036 242 f2 216 d8 48684 137054 198 c6 172 ac 48724 137124 130 82 104 68 'h' 48730 137132 112 70 'p' 86 56 'V' 35 from filename. 48844 137314 130 82 104 68 'h' 48850 137322 242 f2 216 d8 OUTFILE 6: 477 diffs. WTF is going on here? 56996 157244 64 40 '@' 38 26 '&' 57022 157276 252 fc 226 e2 57052 157334 0 0 230 e6 57053 157335 17 11 16 10 57065 157351 17 11 16 10 57082 157372 4 4 234 ea 57083 157373 17 11 16 10 57095 157407 17 11 16 10 57110 157426 8 8 238 ee 57111 157427 17 11 16 10 57123 157443 17 11 16 10 57138 157462 12 c 242 f2 57139 157463 17 11 16 10 57151 157477 17 11 16 10 57170 157522 130 82 104 68 'h' 57200 157560 140 8c 114 72 'r' 57230 157616 180 b4 154 9a 57262 157656 14 e 244 f4 57263 157657 19 13 18 12 57275 157673 19 13 18 12 57288 157710 18 12 248 f8 57289 157711 19 13 18 12 57301 157725 19 13 18 12 57318 157746 58 3a ':' 32 20 ' ' 57350 160006 148 94 122 7a 'z 57380 160044 158 9e 132 84 57410 160102 198 c6 172 ac 57442 160142 32 20 ' ' 6 6 57472 160200 42 2a '*' 16 10 57502 160236 82 52 'R' 56 38 '8' 57534 160276 172 ac 146 92 57564 160334 182 b6 156 9c 57594 160372 222 de 196 c4 57622 160426 226 e2 200 c8 57654 160466 60 3c '<' 34 22 '"' 57684 160524 70 46 'F' 44 2c ',' 57714 160562 110 6e 'n' 84 54 'T' 57746 160622 138 8a 112 70 'p' 57774 160656 142 8e 116 74 't' 57802 160712 146 92 120 78 'x' 57836 160754 16 10 246 f6 57837 160755 27 1b 26 1a 57849 160771 27 1b 26 1a 57868 161014 70 46 'F' 44 2c ',' 57900 161054 158 9e 132 84 57934 161116 44 2c ',' 18 12 57966 161156 18 12 248 f8 57967 161157 30 1e 29 1d 57979 161173 30 1e 29 1d ----that's the end of this stuff for a while - lots of zeroes now, from 57985 161201 0 0 0 0 58368 is the "QuillSub" text which we match the other 26 bytes from the filename. We get back in synch now. Both have "QuillSub" at 58368. 8 diffs: 58468 162144 224 e0 32 20 ' ' 58469 162145 119 77 'w' 218 da 58470 162146 122 7a 'z' 102 66 'f' 58471 162147 46 2e '.' 44 2c ',' 58472 162150 29 1d 29 1d 58473 162151 170 aa 170 aa 58474 162152 199 c7 199 c7 58475 162153 1 1 1 1 58476 162154 224 e0 32 20 ' ' 58477 162155 119 77 'w' 218 da 58478 162156 122 7a 'z' 102 66 'f' 58479 162157 46 2e '.' 44 2c ',' 58480 162160 29 1d 29 1d 58481 162161 170 aa 170 aa 58482 162162 199 c7 199 c7 4 diffs: 58988 163154 255 ff 1 1 58989 163155 255 ff 0 0 58990 163156 0 0 0 0 58991 163157 0 0 8 8 6 diffs: 58994 163162 255 ff 0 0 58995 163163 0 0 8 8 58996 163164 128 80 4 4 58997 163165 128 80 0 0 58998 163166 128 80 0 0 58999 163167 0 0 8 8 59004 163174 1 1 2 2 59012 163204 130 82 226 e2 59013 163205 0 0 1 1 59024 163220 1 1 3 3 59028 163224 1 1 2 2 59036 163234 48 30 '0' 202 ca 59037 163235 0 0 1 1 59092 163324 50 32 '2' 200 c8 59109 starts a load of diffs: However, 59251: a 0 0 e3 0 b f0 54 0 0 0 matches 59109: a 0 0 e3 0 b f0 54 0 0 0 if (i==59109) { skipA(&i, &x, 142, a); } That's got some! Now 1048 diffs in 6. (1532 total). 59455 164077 8 8 12 c 59640 164370 0 0 1 1 59648 164400 72 48 'H' 130 82 59652 164404 16 10 32 20 ' ' 59664 164420 0 0 1 1 59665 164421 4 4 8 8 59717 164505 4 4 8 8 59718 164506 0 0 0 0 59719 164507 0 0 0 0 59720 164510 5 5 5 5 59721 164511 0 0 0 0 59722 164512 0 0 0 0 59723 164513 0 0 0 0 59724 164514 0 0 15 f 59725 164515 0 0 0 0 59726 164516 0 0 4 4 59727 164517 0 0 240 f0 59728 164520 0 0 50 32 '2' 59729 164521 0 0 0 0 59730 164522 0 0 0 0 59731 164523 0 0 0 0 59732 164524 0 0 18 12 59733 164525 0 0 0 0 59734 164526 0 0 10 a 59735 164527 0 0 240 f0 59736 164530 0 0 8 8 59737 164531 0 0 0 0 59738 164532 0 0 0 0 59739 164533 0 0 0 0 59740 164534 0 0 1 1 59741 164535 0 0 8 8 59742 164536 0 0 0 0 59743 164537 0 0 0 0 59744 164540 0 0 0 0 59745 164541 0 0 12 c 59746 164542 0 0 0 0 59747 164543 0 0 0 0 59748 164544 0 0 35 23 '#' 59749 164545 0 0 0 0 59750 164546 0 0 11 b 59751 164547 0 0 240 f0 59752 164550 0 0 12 c 59753 164551 0 0 0 0 59754 164552 0 0 0 0 59755 164553 0 0 0 0 59756 164554 0 0 4 4 59757 164555 0 0 3 3 59758 164556 0 0 9 9 59759 164557 0 0 0 0 59760 164560 0 0 0 0 59761 164561 0 0 0 0 59762 164562 0 0 63 3f '?' 59763 164563 0 0 3 3 59764 164564 0 0 1 1 59765 164565 0 0 0 0 59766 164566 0 0 1 1 59767 164567 0 0 0 0 59768 164570 0 0 19 13 59769 164571 0 0 0 0 59770 164572 0 0 34 22 '"' 59771 164573 0 0 241 f1 59772 164574 0 0 6 6 59773 164575 0 0 0 0 59776: "CHNKINK". 59918: CHNKINK. Diff 142. if (i==59776) { skipB(i, &x, 142, b); } Total 198 diffs, 115 in outfile6. 60296 165610 232 e8 72 48 'H' 60297 165611 6 6 7 7 60326 165646 232 e8 72 48 'H' 60327 165647 6 6 7 7 60766 166536 232 e8 72 48 'H' 60767 166537 6 6 7 7 60848 166660 232 e8 72 48 'H' 60849 166661 6 6 7 7 That's it. End of story. The Syncs, because you care, are; sync : 26 bytes from 48740 Dec Oct test.pub test1.pub 48740 137144 0 0 48741 137145 68 44 'D' 48742 137146 0 0 48743 137147 111 6f 'o' 48744 137150 0 0 48745 137151 99 63 'c' 48746 137152 0 0 48747 137153 117 75 'u' 48748 137154 0 0 48749 137155 109 6d 'm' 48750 137156 0 0 48751 137157 101 65 'e' 48752 137160 0 0 48753 137161 110 6e 'n' 48754 137162 0 0 48755 137163 116 74 't' 48756 137164 0 0 48757 137165 115 73 's' 48758 137166 0 0 48759 137167 32 20 ' ' 48760 137170 0 0 48761 137171 97 61 'a' 48762 137172 0 0 48763 137173 110 6e 'n' 48764 137174 0 0 48765 137175 100 64 'd' sync : 26 bytes from 58362 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 58362 161772 0 0 sync : 142 bytes from 59109 59109 163345 0 0 59110 163346 12 c 59111 163347 0 0 59112 163350 0 0 59113 163351 35 23 '#' 59114 163352 0 0 59115 163353 11 b 59116 163354 240 f0 59117 163355 12 c 59118 163356 0 0 59119 163357 0 0 59120 163360 0 0 59121 163361 4 4 59122 163362 3 3 59123 163363 9 9 59124 163364 0 0 59125 163365 0 0 59126 163366 0 0 59127 163367 63 3f '?' 59128 163370 3 3 59129 163371 1 1 59130 163372 0 0 59131 163373 1 1 59132 163374 0 0 59133 163375 19 13 59134 163376 0 0 59135 163377 34 22 '"' 59136 163400 241 f1 59137 163401 6 6 59138 163402 0 0 59139 163403 0 0 59140 163404 0 0 59141 163405 255 ff 59142 163406 1 1 59143 163407 64 40 '@' 59144 163410 0 0 59145 163411 64 40 '@' 59146 163412 0 0 59147 163413 2 2 59148 163414 0 0 59149 163415 0 0 59150 163416 0 0 59151 163417 15 f 59152 163420 0 0 59153 163421 2 2 59154 163422 240 f0 59155 163423 226 e2 59156 163424 1 1 59157 163425 0 0 59158 163426 0 0 59159 163427 32 20 ' ' 59160 163430 0 0 59161 163431 8 8 59162 163432 240 f0 59163 163433 8 8 59164 163434 0 0 59165 163435 0 0 59166 163436 0 0 59167 163437 3 3 59168 163440 0 0 59169 163441 0 0 59170 163442 0 0 59171 163443 2 2 59172 163444 8 8 59173 163445 0 0 59174 163446 0 0 59175 163447 15 f 59176 163450 0 0 59177 163451 3 3 59178 163452 240 f0 59179 163453 202 ca 59180 163454 1 1 59181 163455 0 0 59182 163456 0 0 59183 163457 15 f 59184 163460 0 0 59185 163461 4 4 59186 163462 240 f0 59187 163463 40 28 '(' 59188 163464 0 0 59189 163465 0 0 59190 163466 0 0 59191 163467 1 1 59192 163470 0 0 59193 163471 9 9 59194 163472 240 f0 59195 163473 16 10 59196 163474 0 0 59197 163475 0 0 59198 163476 0 0 59199 163477 0 0 59200 163500 0 0 59201 163501 0 0 59202 163502 0 0 59203 163503 0 0 59204 163504 0 0 59205 163505 0 0 59206 163506 0 0 59207 163507 0 0 59208 163510 0 0 59209 163511 0 0 59210 163512 0 0 59211 163513 0 0 59212 163514 0 0 59213 163515 0 0 59214 163516 0 0 59215 163517 2 2 59216 163520 0 0 59217 163521 10 a 59218 163522 240 f0 59219 163523 8 8 59220 163524 0 0 59221 163525 0 0 59222 163526 0 0 59223 163527 0 0 59224 163530 8 8 59225 163531 0 0 59226 163532 0 0 59227 163533 5 5 59228 163534 0 0 59229 163535 0 0 59230 163536 0 0 59231 163537 15 f 59232 163540 0 0 59233 163541 4 4 59234 163542 240 f0 59235 163543 200 c8 59236 163544 0 0 59237 163545 0 0 59238 163546 0 0 59239 163547 18 12 59240 163550 0 0 59241 163551 10 a 59242 163552 240 f0 59243 163553 8 8 59244 163554 0 0 59245 163555 0 0 59246 163556 0 0 59247 163557 1 1 59248 163560 8 8 59249 163561 0 0 59250 163562 0 0 sync : 142 bytes from 59776 59776 164600 0 0 59776 164600 255 ff 59776 164600 1 1 59776 164600 64 40 '@' 59776 164600 0 0 59776 164600 64 40 '@' 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 15 f 59776 164600 0 0 59776 164600 2 2 59776 164600 240 f0 59776 164600 72 48 'H' 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 16 10 59776 164600 0 0 59776 164600 8 8 59776 164600 240 f0 59776 164600 8 8 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 1 1 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 4 4 59776 164600 0 0 59776 164600 0 0 59776 164600 15 f 59776 164600 0 0 59776 164600 3 3 59776 164600 240 f0 59776 164600 48 30 '0' 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 15 f 59776 164600 0 0 59776 164600 4 4 59776 164600 240 f0 59776 164600 40 28 '(' 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 1 1 59776 164600 0 0 59776 164600 9 9 59776 164600 240 f0 59776 164600 16 10 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 2 2 59776 164600 0 0 59776 164600 10 a 59776 164600 240 f0 59776 164600 8 8 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 4 4 59776 164600 0 0 59776 164600 0 0 59776 164600 5 5 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0 59776 164600 0 0