当我跑步时:
diff -y <file1> <file2>
|
这个角色告诉我什么?
IE
Video_Codec_List : v210 | Codecs Video : v210
答案1
正如 GNUdiffutils
文档中解释的那样(使用info diffutils "output formats" "side by side"
)
`|'
The corresponding lines differ, and they are either both complete
or both incomplete.
供您参考,完整的标记列表如下
white space
The corresponding lines are in common. That is, either the lines
are identical, or the difference is ignored because of one of the
`--ignore' options (*note White Space::).
`|'
The corresponding lines differ, and they are either both complete
or both incomplete.
`<'
The files differ and only the first file contains the line.
`>'
The files differ and only the second file contains the line.
`('
Only the first file contains the line, but the difference is
ignored.
`)'
Only the second file contains the line, but the difference is
ignored.
`\'
The corresponding lines differ, and only the first line is
incomplete.
`/'
The corresponding lines differ, and only the second line is
incomplete.