diff

http://en.wikipedia.org/wiki/Diff

diff
From Wikipedia, the free encyclopedia
Jump to: navigation, search
This article is about the file comparison utility. For other uses, see DIFF (disambiguation).
"Diffs" redirects here. For the American punk rock group, see The Diffs.
In computing, diff is a file comparison utility that outputs the differences between two files. It is typically used to show the changes between one version of a file and a former version of the same file. Diff displays the changes made per line for text files. Modern implementations also support binary files.[1] The output is called a diff or a patch since the output can be applied with the Unix program patch. The output of similar file comparison utilities are also called a "diff". Like the use of the word "grep" for describing the act of searching, the word diff is used in jargon as a verb for calculating any difference.

Contents
[hide]
1 History
2 Algorithm
3 Usage
4 Variations
4.1 Edit script
4.2 Context format
4.3 Unified format
4.4 Others
5 Free file comparison tools
6 See also
7 Notes
8 External links

转载于:https://my.oschina.net/tadcat/blog/147778

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值