Given
Original file example.txt
Patch example.patch
diff --git a/example.txt b/example.txt
index 4426901..7b77a8b 100644
--- a/example.txt
+++ b/example.txt
@@ -2,7 +2,7 @@
A
B
C
-Y
+Z
D
E
F
Execute command (1.17.4, hash 2354804):
patch_ng.py -f example.patch
Result (misplaced Z):
Expected result (with unix patch command):