次: diff examples, 上: diff
diff では、以下の標準オプションが利用できます
(完全な記述は see Common options):
-D date-k kflag-l-R-r tag一つもしくは両方のオプション `-r' を、前述の オプション `-D date' と交換することができます。
以下のオプションは出力の書式を指定します。 意味は GNU diff と同じです。
-0 -1 -2 -3 -4 -5 -6 -7 -8 -9
--binary
--brief
--changed-group-format=arg
-c
-C nlines
--context[=lines]
-e --ed
-t --expand-tabs
-f --forward-ed
--horizon-lines=arg
--ifdef=arg
-w --ignore-all-space
-B --ignore-blank-lines
-i --ignore-case
-I regexp
--ignore-matching-lines=regexp
-h
-b --ignore-space-change
-T --initial-tab
-L label
--label=label
--left-column
-d --minimal
-N --new-file
--new-line-format=arg
--old-line-format=arg
--paginate
-n --rcs
-s --report-identical-files
-p
--show-c-function
-y --side-by-side
-F regexp
--show-function-line=regexp
-H --speed-large-files
--suppress-common-lines
-a --text
--unchanged-group-format=arg
-u
-U nlines
--unified[=lines]
-V arg
-W columns
--width=columns