OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / gnumaniak / draft / man1 / sum.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 sum 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 SUM 1 "7 October 2002" "GNU textutils 2.1"
19 .\"O .SH NAME
20 .\"O \fBsum\fR \- print checksum and block counts
21 .SH 名前
22 sum \- チェックサムとブロック数を表示する
23 .\"O .SH SYNOPSIS
24 .SH 書式
25 .B sum
26 .RB [ \-rs ]
27 .RB [ \-\-sysv ]
28 .RI [ FILE... ]
29
30 .BR sum " [" \-\-help "] [" \-\-version ]
31 .\"O .SH DESCRIPTION
32 .SH 説明
33 .\"O .B sum
34 .\"O computes and prints a 16 bit checksum for each given
35 .\"O .IR FILE .
36 .\"O If
37 .\"O .I FILE
38 .\"O is omitted or if it is a
39 .\"O .RB ` \- ',
40 .\"O standard input is used for reading.
41 .B sum
42 は引数に与えられた各
43 .I FILE
44 の 16 ビットチェックサムを計算して表示する。
45 .I FILE
46 が一つも与えられないと標準入力から読み込む。また
47 .I FILE
48
49 .RB ` \- '
50 だった場合には、そのファイルには標準入力が用いられる。
51
52 .\"O .B sum
53 .\"O prints the checksum for each \fIFILE\fR followed by the number of
54 .\"O blocks in the file (rounded up).  By default if more than one \fIFILE\fR is
55 .\"O given, file names are also printed.
56 .B sum
57
58 .I FILE
59 それぞれのチェックサムとブロック数 (切り上げ) を表示する。
60 デフォルトでは、2 つ以上の
61 .I FILE
62 が引数に指定されると、ファイル名も表示する。
63
64 .\"O By default, GNU \fBsum\fR computes checksums using an algorithm
65 .\"O compatible with BSD \fBsum\fR and prints file sizes in units of 1024-byte
66 .\"O blocks.
67 GNUの
68 .B sum
69 は、デフォルトで BSD
70 .B sum
71 と互換性のあるアルゴリズムでチェックサムを計算し、
72 1024 バイトのブロック単位でファイルのサイズを表示する。
73 .\"O .SH OPTIONS
74 .SH オプション
75 .TP
76 .B \-r
77 .\"O Use the default (BSD compatible) algorithm.  This option is
78 .\"O included for compatibility with the System V sum.  Unless \fB-s\fR
79 .\"O is also given, it has no effect.
80 デフォルトの (BSD 互換の) アルゴリズムをチェックサムの計算に使う。
81 このオプションは System V の
82 .B sum
83 との互換性のためにある。
84 .I \-s
85 オプションを同時に指定しない限り、何も起きない。
86 .TP
87 .B \-s, \-\-sysv
88 .\"O Compute checksums using an algorithm compatible with System V
89 .\"O sum's default, and print file sizes in units of 512-byte blocks.
90 チェックサムの計算に System V の
91 .B sum
92 と互換のアルゴリズムを用い、
93 512 バイトのブロック単位でファイルのサイズを表示する。
94 .TP
95 .B "\-\-help"
96 .\"O Print a usage message on standard output and exit successfully.
97 標準出力に使用方法のメッセージを出力して正常終了する。
98 .TP
99 .B "\-\-version"
100 .\"O Print version information on standard output then exit successfully.
101 標準出力にバージョン情報を出力して正常終了する。
102 .\"O .SH NOTES
103 .SH 注意
104 .\"O Report bugs to bug-textutils@gnu.org.
105 .\"O .br
106 .\"O Man page by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
107 プログラムのバグについては bug-textutils@gnu.org に報告してください。
108 .br
109 man ページは Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com> が作成しました。