OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / gnumaniak / draft / man1 / comm.1
1 .\" You may copy, distribute and modify under the terms of the LDP General
2 .\" Public License as specified in the LICENSE file that comes with the
3 .\" gnumaniak distribution
4 .\"
5 .\" The author kindly requests that no comments regarding the "better"
6 .\" suitability or up-to-date notices of any info documentation alternative
7 .\" is added without contacting him first.
8 .\"
9 .\" (C) 2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
10 .\"
11 .\"     GNU comm man page
12 .\"     man pages are NOT obsolete!
13 .\"     <ragnar@ragnar-hojland.com>
14 .\"
15 .\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
16 .\" Translated Sun 12 Mar 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
17 .\"
18 .TH COMM 1 "7 October 2002" "GNU textutils 2.1"
19 .\"O .SH NAME
20 .\"O \fBcomm\fR \- compare two sorted files line by line
21 .SH 名前
22 comm \- ソート済みの2つのファイルを行ごとに比較する
23 .\"O .SH SYNOPSIS
24 .SH 書式
25 .BR "comm " [ \-123 ] " \fIFILE1 " [ \fIFILE2 ]
26
27 .BR comm " [" \-\-help "] [" \-\-version ]
28 .\"O .SH DESCRIPTION
29 .SH 説明
30 .\"O .B comm
31 .\"O writes to standard output lines that are common, and lines that are unique,
32 .\"O between two input files.  If a
33 .\"O .I FILE
34 .\"O is omitted or if it is a
35 .\"O .RB ` \- ',
36 .\"O standard input is used as input for that file.
37 .B comm
38 は二つの入力ファイルを読み込み、
39 共通な行および共通でない行をそれぞれ表示する。
40 一方の
41 .I FILE
42 が省略されると、その分は標準入力から読み込む。また
43 .I FILE
44
45 .RB ` \- '
46 だった場合には、そのファイルには標準入力が用いられる。
47
48 .\"O With no options, comm' produces three column output.  Column one
49 .\"O contains lines unique to \fIFILE1\fR, column two contains lines unique to
50 .\"O 'fIFILE2\fR, and column three contains lines common to both files.  Columns
51 .\"O are separated by <TAB>.
52 オプションが与えられない場合、
53 .B comm
54 は 3 列からなる出力を生成する。
55 第 1 列には
56 .I FILE1
57 だけにしか含まれない行を、
58 第 2 列には
59 .I FILE2
60 だけにしか含まれない行を、
61 そして第 3 列には両方のファイルに共通に含まれている行をそれぞれ出力する。
62 列は <TAB> 区切りである。
63 .\"O .SH OPTIONS
64 .TP
65 .B \-1
66 .\"O Suppress output of column one.
67 第 1 列の出力をしない。
68 .TP
69 .B \-2
70 .\"O Suppress output of column two.
71 第 2 列の出力をしない。
72 .TP
73 .B \-3
74 .\"O Suppress output of column three.
75 第 3 列の出力をしない。
76 .TP
77 .B "\-\-help"
78 .\"O Print a usage message on standard output and exit successfully.
79 標準出力に使用方法のメッセージを出力して正常終了する。
80 .TP
81 .B "\-\-version"
82 .\"O Print version information on standard output then exit successfully.
83 標準出力にバージョン情報を出力して正常終了する。
84 .\"O .SH DIAGNOSTICS
85 .SH 返り値
86 .\"O Unlike some other comparison utilities, \fBcomm\fR has an exit status
87 .\"O that does not depend on the result of the comparison.  Upon normal
88 .\"O completion \fBcomm\fR produces an exit code of zero.  If there is an error
89 .\"O it exits with nonzero status.
90 他の比較ユーティリティと異なり、
91 .B comm
92 の返す終了ステータスは比較結果に依存しない。
93 通常終了をすると、
94 .B comm
95 は終了ステータスとして 0 を返し、エラーがあると 0 以外のステータスを返す。
96 .\"O .SH NOTES
97 .SH 注意
98 .\"O Report bugs to bug-textutils@gnu.org.
99 .\"O .br
100 .\"O Man page by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
101 プログラムのバグについては bug-textutils@gnu.org に報告してください。
102 .br
103 man ページは Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com> が作成しました。