I am trying to follow what you are saying as well, as I have a Windows version, and want to make sure there are no bugs, as you say.
When I run your command line flags: WindowsKeySubtractorv2.3 -p 0265119A9E94A135BAE5E03AD6F41DA5D7D7CC5873448FFC7B2F2304B520DBE133 -s -a -n 32 -f publickey -o 0x10to0x100.txt -r 0:13CD125F2165F8510DBA46008014A09
(with my Windows version), I get:
0315a15bdb850ab50c8cf1a1c6f47d3b1cb07b124af1d8bf06bf913bb1f13cbc6c # + 13cd125f2165f8510dba46008014a1
0310ca2b0afe2a8b218f56d9e5dda2a92b90dea6d5d45824464d3efcd297a6ae13 # - 279a24be42cbf0a21b748c01002942
02323053201886533953796268b80edba0c0af7308de913af1082349c4a13374fb # + 279a24be42cbf0a21b748c01002942
02da040aa5e121add16d5ae06b65e39801185401befb44f55fe8dc77ffc5fa756c # - 3b67371d6431e8f3292ed201803de3
02c79f88fcb76430c114d95e8d8898c111423289c5930d37c4df9492d71285db68 # + 3b67371d6431e8f3292ed201803de3
02d28f2badb89e7a2f8f44911f7fc8129984888a5b6f80747c4740f1bdf4cf881a # - 4f34497c8597e14436e91802005284
02158b81d7de72a35b5a6d5003656122eaf808392673451125e41694efcabb1b48 # + 4f34497c8597e14436e91802005284
02765794a6e3e7c5e73415a2e8a671d7080e8bd6f44e504bf4e88e9d5f09ff10e8 # - 63015bdba6fdd99544a35e02806725
02c224d28864179657ec8796c22f93b18350fa8b9fdf632c0ae43e272681a8db9b # + 63015bdba6fdd99544a35e02806725
0297828e7db0fbc26063bce0942755bc68ae983a9160cc393ce757d9a5ffc039c3 # - 76ce6e3ac863d1e6525da403007bc6
03dfd21401944a19e3c3067343d43fa2acec2c041cce2e0de2cc775ca7fa86307b # + 76ce6e3ac863d1e6525da403007bc6
03f495895e94768ff4db43824ef319f4e1626476b784b686d9288f15d57ef06be5 # - 8a9b8099e9c9ca376017ea03809067
02e0212283d33a74ec5b98f1b33ad70b38b1cdbdf3b27d8169e0f95df21a12c799 # + 8a9b8099e9c9ca376017ea03809067
02f4958fd72f0550109d3c8a3f198156ad92f2658e2bef65ef7cedcbcd1ce10a99 # - 9e6892f90b2fc2886dd2300400a508
02665bf4da19df71e3fd721b8ccb53240a073333d7812776594c86b497a3bba14e # + 9e6892f90b2fc2886dd2300400a508
03a7a7035f849e1f3a043800141ce70734a3ebcff878f5dd98ad65b46cf09a8501 # - b235a5582c95bad97b8c760480b9a9
027bbdee3e1afa5c3e5e6d1a3e700f10214ea76a1261cf8f673de866c1b8e52ffb # + b235a5582c95bad97b8c760480b9a9
03557d8bb835ac1f812238c316dea5b18056c059896743ca4357e6e7df8f20bbcb # - c602b7b74dfbb32a8946bc0500ce4a
026ca2132db5aba0750c9e9f414325195b23dae070103ebcea9de9d10488691b9a # + c602b7b74dfbb32a8946bc0500ce4a
02e8b6285c9c2eeb5245923bcb5810b42fc6957f883a1bf06ebf3bddcf5d28e432 # - d9cfca166f61ab7b9701020580e2eb
03c21b1170a4b8a333e728eefb88c25273aec8b50cbf27acfc1a928bbc4e98a952 # + d9cfca166f61ab7b9701020580e2eb
03b0852769c61bc92ebb4b8e0325189803a7672d7aff8138fcaf7e0912fb6db83b # - ed9cdc7590c7a3cca4bb480600f78c
02f310ca33b5051d5dc5e5dc100b71f34da626fbc3671c67d761aca0d374c5d86e # + ed9cdc7590c7a3cca4bb480600f78c
0292b9a4a62c9b11c2b74f5a112c3ae6f8205a812e50e1a998b72a3572206b2e60 # - 10169eed4b22d9c1db2758e06810c2d
027b0134c41fde6e6c3e14c112694f6d15a6a26bada9927b75c610f2faca8d0c1f # + 10169eed4b22d9c1db2758e06810c2d
0283cd0f56a1f1444437bb9bb527e6e23fd187f39a46cf5baae15635204d0bce0b # - 115370133d393946ec02fd4070120ce
027397a1cb67d2cf66acdb0bef63165ead8a650c283be065e9c9ae71d56e310a69 # + 115370133d393946ec02fd4070120ce
021118f300af0fe59577e4ecefdc11f36d5cb910413d264726a767fd21a15dee1c # - 129041392f4f98cbfcdea1a0781356f
036e91521a16fc5d0cb95a0514fefa337e31493bc33fb3ebc660f8f8c6be6d1f56 # + 129041392f4f98cbfcdea1a0781356f
0385cd34fbe923f770a51febd5c7c3249727a049859bc6581ca53c997f76052709 # - 13cd125f2165f8510dba46008014a10
0293039b4f98a31cd72f5506fccdd5df34ab36995ea061b1fb8dcea66638e5041e # + 13cd125f2165f8510dba46008014a10
0265119a9e94a135bae5e03ad6f41da5d7d7cc5873448ffc7b2f2304b520dbe133 # target
If I take the first one you show different, (the 4th down the list, and run it with keymath) I get:
Result: 02158b81d7de72a35b5a6d5003656122eaf808392673451125e41694efcabb1b48
But you get something like this:
036e531664a1356caf0e253a3c1cd6f46724358cbcc07892c6a34f94769f9554fa
It would help if you would post the entire output file, as I did above, to see all your results, to better understand, if there is a disconnect or something.