etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ] [  experimental  ]
[ Source: diffutils  ]

Package: diff (2.8.1-12) [essential]

檔案比較工具

這個 diff 套件提供有 diff、diff3、sdiff、cmp 等程式。

`diff' 顯示兩個檔案間的不同,或兩個目錄裡相對應的檔案。 `cmp' 顯示兩個檔案間不同的偏差與行數。 `cmp' 也可以一個對一個地顯示兩個檔案裡不同的字元。 `diff3' 顯示三個檔案間的不同。 `sdiff' 用互動的方式合併兩個檔案。

`diff' 產生的相異列表可用來將文字檔(例如程式碼)的更新發佈給其他人。 當相異列表比完整的檔案小時,這個方法特別有用。 `patch' 這個程式可以利用 `diff' 的輸出內容,將檔案更新或修補。

Tags: User Interface: Command Line, Role: Program, Scope: Utility, Application Suite: GNU, Purpose: Synchronisation, Works with: Files, Source Code, Text

Other Packages Related to diff

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.3.5-1) [hppa, mipsel, powerpc]
    GNU C 函式庫:共用函式庫
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.5) [not alpha, hppa, ia64, mipsel, powerpc]
  • dep: libc6.1 (>= 2.5) [alpha, ia64]
    GNU C 函式庫:共用函式庫
    also a virtual package provided by libc6.1-udeb
  • dep: libgcc1 (>= 1:4.1.1-12) [armel]
    GCC 支援函式庫
  • sug: diff-doc
    documentation for GNU diffutils

Download diff

Download for all available architectures
Architecture Package Size Installed Size Files
alpha 193.0 kB796 kB [list of files]
amd64 187.3 kB764 kB [list of files]
arm 183.0 kB748 kB [list of files]
armel 182.3 kB744 kB [list of files]
hppa 192.9 kB764 kB [list of files]
i386 183.0 kB744 kB [list of files]
ia64 221.5 kB876 kB [list of files]
mips 193.2 kB800 kB [list of files]
mipsel 193.3 kB800 kB [list of files]
powerpc 186.4 kB764 kB [list of files]
s390 191.3 kB768 kB [list of files]
sparc 182.2 kB748 kB [list of files]