File: sha1sum.1

package info (click to toggle)
manpages-ja 0.5.0.0.20120606-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 25,964 kB
  • sloc: perl: 161; makefile: 116
file content (95 lines) | stat: -rw-r--r-- 3,424 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
.\" You may copy, distribute and modify under the terms of the LDP General
.\" Public License as specified in the LICENSE file that comes with the
.\" gnumaniak distribution
.\"
.\" The author kindly requests that no comments regarding the "better"
.\" suitability or up-to-date notices of any info documentation alternative
.\" is added without contacting him first.
.\"
.\" (C) 2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
.\"
.\"	GNU nl man page
.\"	man pages are NOT obsolete!
.\"	<ragnar@ragnar-hojland.com>
.\"
.\" Japanese Version Copyright (c) 2003 Yuichi SATO
.\"         all rights reserved.
.\" Translated Sun Apr 27 17:53:08 JST 2003
.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
.\"
.TH NL 1 "7 October 2002" "GNU textutils 2.1"
.SH 名前
\fBsha1sum\fR \- SHA1 ハッシュチェックサムの計算と検証を行う
.SH 書式
.B sha1sum
.RB [ \-bctw ]
.RB [ \-\-binary ]
.RB [ \-\-check ]
.RB [ \-\-status ]
.RB [ \-\-text ]
.RB [ \-\-warn ]
.RI [ FILE... ]

.BR sha1sum " [" \-\-help "] [" \-\-version ]
.SH 説明
.B sha1sum
.I FILE
の SHA1 チェックサムの出力と検証を
.I FIPS-180-1
に基づいて行う。
.I FILE
が省略された場合、または 
.RB ` \- '
が指定された場合は、標準入力が使われる。
.PP
計算したチェックサムを出力するときのフォーマットは、
各入力ファイル \fIFILE\fR について「SHA1 チェックサム・スペース・
ファイルタイプ文字 (バイナリは `*'、テキストは ` ')・
ファイル名」となっている。
これは \fB\-\-check\fR が想定するフォーマットである。
.PP
.SH オプション
.TP
.B \-b, \-\-binary
入力ファイル \fIFILE\fR をバイナリモードで読み込む。
Unix システムではバイナリファイルとテキストファイルを区別しないので、
このオプションは何も影響を及ぼさない。
DOS プラットフォーム上では、これがデフォルトである。
.TP
.B \-c, \-\-check
指定された \fIFILE\fR からファイル名とチェックサムを読み込み、
各ファイルと対応するチェックサムが正しいかを報告する。
\fb\-\-check\fR は \fBsha1sum\fR の出力と同じフォーマットを想定する。
.sp
.nf
例:
sha1sum *.sha1 > checksums.sha1
sha1sum \-\-check checksums.sha1
.fi
.TP
.B \-\t, \-\-text
入力ファイル \fIFILE\fR をテキストモードで読み込む。
.TP
.B \-w, \-\-warn
フォーマットが間違っているエントリに警告を出す。
\fB\-\-check\fR とともに使うときにのみ機能する。
.TP
.B \-\-status
表示を抑制し、ステータスコードを返して終了する。
警告とチェックサムの不一致は省略されるが、
ファイルのオープンや読み込みといった操作におけるエラーは表示される。
正常終了コード 0 は、
全てのチェックを通過してエラーが起らなかった場合にのみ返される。
それ以外の場合は、0 以外の値が返される。
.TP
.B "\-\-help"
標準出力に使用方法のメッセージを出力して正常終了する。
.TP
.B "\-\-version"
標準出力にバージョン情報を出力して正常終了する。
.SH 注意
バグは bug-textutils@gnu.org へ報告してください。
.br
この man ページは Ragnar Hojland Espinosa 
<ragnar@ragnar-hojland.com> が書いた。