Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1b4f94 commit 27c225eCopy full SHA for 27c225e
1 file changed
Tools/scripts/ndiff.py
@@ -6,7 +6,6 @@
6
# ndiff file1 file2 -- a human-friendly file differencer.
7
8
# $Revision$
9
-# $NoKeywords: $
10
11
# SequenceMatcher tries to compute a "human-friendly diff" between
12
# two sequences (chiefly picturing a file as a sequence of lines,
@@ -52,6 +51,12 @@
52
51
# 3) Lines beginning with "? " attempt to guide the eye to intraline
53
# differences, and were not present in either input file.
54
#
+# COROLLARY:
55
+# On Unix, the second file can be recovered by piping the output through
56
+# sed -n '/^[+ ] /s/^..//p'
57
+# Modifications to recover the first file are left as an exercise for
58
+# the reader.
59
+#
60
# NOTE on junk: the module-level names
61
# IS_LINE_JUNK
62
# IS_CHARACTER_JUNK
0 commit comments