RCSDIFF(1) RCSDIFF(1) 名称 rcsdiff - RCS で管理されているリビジョンを比較する 書式 rcsdiff [ -ksubst ] [ -q ] [ -rrev1 [ -rrev2 ] ] [ -T ] [ -V[n] ] [ -xsuffixes ] [ -zzone ] [ diff options ] file ... 解説 rcsdiff は、 diff(1) を起動して、指定された RCS ファイルの 2 つのリビジ ョンを比較します。 RCS 拡張子にマッチするパス名は RCS ファイル、その他のパス名はワークファ イルであるとみなします。ファイルの対応づけについては ci(1) を参照してく ださい。 -q オプションが指定されると診断メッセージの表示を行いません。 -r オプシ ョンにより 0、1 あるいは 2 個のリビジョンを指定できます。 -ksubst オ プ シ ョ ン は リ ビジョンを取り出す際のキーワード置換の方法を変更します。 co(1) を参照してください。たとえば、 -kk -r1.1 -r1.2 と指定すると、リビ ジ ョン 1.1 と 1.2 を比較する際にキーワードの違いを無視します。以下に示 す 4 つの場合、ロック者キーワードの違いから余計な差分が出力されるのを抑 止 するために、 -kkvl オプションが指定されたものとみなします。 (1) たか だか 1 つのリビジョンしか指定されていない、 (2) -k オプションが指定され ていない、 (3) デフォルトのキーワード置換方式が -kkv と設定されている、 (4) ワークファイルのファイルモードが co -l が作成するものと同じである。 -T, -V, -x, -z オプションの詳細については co(1) を参照してください。そ の他、通常ファイルに対して用いられる diff(1) のすべてオプションは、同じ 意味で rcsdiff に対して用いることができます。 rev1 と rev2 が両方とも指定されなかった場合、 rcsdiff はデフォルト枝 (branch) (デフォルトでは幹(trunk)) の最新のリビジョンとワークファイルと を 比較します。これは、最後にチェックインした後、ワークファイルに対して 加えられた変更を知るのに便利です。 rev1 のみが指定された場合、 rcsdiff は RCS ファイル中のリビジョン rev1 の内容とワークファイルの内容を比較します。 rev1 と rev2 の両方が与えられた場合、 rcsdiff は RCS ファイル中の指定さ れた 2 つのリビジョンを比較します。 rev1 と rev2 は、数字またはシンボルで指定することができます。 使用例 以下のコマンド rcsdiff f.c は、 RCS ファイルのデフォルト枝の最新リビジョンとワークファイル f.c を 比較します。 環境変数 RCSINIT コマンドライン引数に先立って与えられるオプションを指定します。各 オプションは空白で区切って指定します。詳しくは ci(1) を参照し て ください。 診断 比較したリビジョン間に違いがなければ終了ステータス 0 を、違いがあれば 1 を、エラーが発生した場合は 2 を返します。 作者 Author: Walter F. Tichy. Manual Page Revision: 1.5; Release Date: 1999/08/27. Copyright © 1982, 1988, 1989 Walter F. Tichy. Copyright © 1990, 1991, 1992, 1993 Paul Eggert. 関連項目 ci(1), co(1), diff(1), ident(1), rcs(1), rcsintro(1), rcsmerge(1), rlog(1) Walter F. Tichy, RCS--A System for Version Control, Software--Practice & Experience 15, 7 (July 1985), 637-654. GNU 1999/08/27 RCSDIFF(1)
RCSDIFF(1) RCSDIFF(1) NAME rcsdiff - compare RCS revisions SYNOPSIS rcsdiff [ -ksubst ] [ -q ] [ -rrev1 [ -rrev2 ] ] [ -T ] [ -V[n] ] [ -xsuffixes ] [ -zzone ] [ diff options ] file ... DESCRIPTION rcsdiff runs diff(1) to compare two revisions of each RCS file given. Pathnames matching an RCS suffix denote RCS files; all others denote working files. Names are paired as explained in ci(1). The option -q suppresses diagnostic output. Zero, one, or two revi- sions may be specified with -r. The option -ksubst affects keyword substitution when extracting revisions, as described in co(1); for example, -kk -r1.1 -r1.2 ignores differences in keyword values when comparing revisions 1.1 and 1.2. To avoid excess output from locker name substitution, -kkvl is assumed if (1) at most one revision option is given, (2) no -k option is given, (3) -kkv is the default keyword substitution, and (4) the working file’s mode would be produced by co -l. See co(1) for details about -T, -V, -x and -z. Otherwise, all options of diff(1) that apply to regular files are accepted, with the same meaning as for diff. If both rev1 and rev2 are omitted, rcsdiff compares the latest revision on the default branch (by default the trunk) with the contents of the corresponding working file. This is useful for determining what you changed since the last checkin. If rev1 is given, but rev2 is omitted, rcsdiff compares revision rev1 of the RCS file with the contents of the corresponding working file. If both rev1 and rev2 are given, rcsdiff compares revisions rev1 and rev2 of the RCS file. Both rev1 and rev2 may be given numerically or symbolically. EXAMPLE The command rcsdiff f.c compares the latest revision on the default branch of the RCS file to the contents of the working file f.c. ENVIRONMENT RCSINIT options prepended to the argument list, separated by spaces. See ci(1) for details. DIAGNOSTICS Exit status is 0 for no differences during any comparison, 1 for some differences, 2 for trouble. IDENTIFICATION Author: Walter F. Tichy. Manual Page Revision: 5.5; Release Date: 1993/11/03. Copyright © 1982, 1988, 1989 Walter F. Tichy. Copyright © 1990, 1991, 1992, 1993 Paul Eggert. SEE ALSO ci(1), co(1), diff(1), ident(1), rcs(1), rcsintro(1), rcsmerge(1), rlog(1) Walter F. Tichy, RCS--A System for Version Control, Software--Practice & Experience 15, 7 (July 1985), 637-654. GNU 1993/11/03 RCSDIFF(1)
コロナウイルスの日ごとの感染者数・死者数をグラフ化してみました。どの国が増加傾向にあり、どの国が終息に向かっているかを視覚化しています。
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa