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
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.
9 .\" (C) 2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
12 .\" man pages are NOT obsolete!
13 .\" <ragnar@ragnar-hojland.com>
15 .\" Japanese Version Copyright (c) 2003 Yuichi SATO
16 .\" all rights reserved.
17 .\" Translated Sun Apr 27 17:53:08 JST 2003
18 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
20 .TH NL 1 "7 October 2002" "GNU textutils 2.1"
23 .\"O \fBsha1sum\fR \- calculate and check SHA1 hash checksums
24 \fBsha1sum\fR \- SHA1 ¥Ï¥Ã¥·¥å¥Á¥§¥Ã¥¯¥µ¥à¤Î·×»»¤È¸¡¾Ú¤ò¹Ô¤¦
36 .BR sha1sum " [" \-\-help "] [" \-\-version ]
40 .\"O outputs or checks the SHA1 checkum of
41 .\"O .I FILE s according to FIPS-180-1. If
43 .\"O is omitted or if is a
45 .\"O standard input is used.
49 ¤Î SHA1 ¥Á¥§¥Ã¥¯¥µ¥à¤Î½ÐÎϤȸ¡¾Ú¤ò
53 ¤¬¾Êά¤µ¤ì¤¿¾ì¹ç¡¢¤Þ¤¿¤Ï
55 ¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤Ï¡¢É¸½àÆþÎϤ¬»È¤ï¤ì¤ë¡£
57 .\"O Output format when calculating checksums consists for each input \fIFILE\fR,
58 .\"O in a SHA1 sum, a space, a file type character (`*' for binary, ` ' for text)
59 .\"O and a filename. This is the format \fB\-\-check\fR expects.
60 ·×»»¤·¤¿¥Á¥§¥Ã¥¯¥µ¥à¤ò½ÐÎϤ¹¤ë¤È¤¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï¡¢
61 ³ÆÆþÎÏ¥Õ¥¡¥¤¥ë \fIFILE\fR ¤Ë¤Ä¤¤¤Æ¡ÖSHA1 ¥Á¥§¥Ã¥¯¥µ¥à¡¦¥¹¥Ú¡¼¥¹¡¦
62 ¥Õ¥¡¥¤¥ë¥¿¥¤¥×ʸ»ú (¥Ð¥¤¥Ê¥ê¤Ï `*'¡¢¥Æ¥¥¹¥È¤Ï ` ')¡¦
63 ¥Õ¥¡¥¤¥ë̾¡×¤È¤Ê¤Ã¤Æ¤¤¤ë¡£
64 ¤³¤ì¤Ï \fB\-\-check\fR ¤¬ÁÛÄꤹ¤ë¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤¢¤ë¡£
70 .\"O Reads the input \fIFILE\fRs in binary mode. This option has no effect on Unix
71 .\"O systems, since they don't distinguish between binary and text files. This is
72 .\"O the default on DOS platforms.
73 ÆþÎÏ¥Õ¥¡¥¤¥ë \fIFILE\fR ¤ò¥Ð¥¤¥Ê¥ê¥â¡¼¥É¤ÇÆɤ߹þ¤à¡£
74 Unix ¥·¥¹¥Æ¥à¤Ç¤Ï¥Ð¥¤¥Ê¥ê¥Õ¥¡¥¤¥ë¤È¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¤ò¶èÊ̤·¤Ê¤¤¤Î¤Ç¡¢
75 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï²¿¤â±Æ¶Á¤òµÚ¤Ü¤µ¤Ê¤¤¡£
76 DOS ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¾å¤Ç¤Ï¡¢¤³¤ì¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¢¤ë¡£
79 .\"O Reads filenames and checksums from the given \fIFILE\fRs, and report wether
80 .\"O each file and the corresponding checksum are correct. \fb\-\-check\fR
81 .\"O expects the same format \fBsha1sum\fR outputs.
82 »ØÄꤵ¤ì¤¿ \fIFILE\fR ¤«¤é¥Õ¥¡¥¤¥ë̾¤È¥Á¥§¥Ã¥¯¥µ¥à¤òÆɤ߹þ¤ß¡¢
83 ³Æ¥Õ¥¡¥¤¥ë¤ÈÂбþ¤¹¤ë¥Á¥§¥Ã¥¯¥µ¥à¤¬Àµ¤·¤¤¤«¤òÊó¹ð¤¹¤ë¡£
84 \fb\-\-check\fR ¤Ï \fBsha1sum\fR ¤Î½ÐÎϤÈƱ¤¸¥Õ¥©¡¼¥Þ¥Ã¥È¤òÁÛÄꤹ¤ë¡£
89 sha1sum *.sha1 > checksums.sha1
90 sha1sum \-\-check checksums.sha1
94 .\"O Reads the input \fIFILE\fRs in text mode.
95 ÆþÎÏ¥Õ¥¡¥¤¥ë \fIFILE\fR ¤ò¥Æ¥¥¹¥È¥â¡¼¥É¤ÇÆɤ߹þ¤à¡£
98 .\"O Warn about badly formatted entries. Only makes sense with \fB\-\-check\fR.
99 ¥Õ¥©¡¼¥Þ¥Ã¥È¤¬´Ö°ã¤Ã¤Æ¤¤¤ë¥¨¥ó¥È¥ê¤Ë·Ù¹ð¤ò½Ð¤¹¡£
100 \fB\-\-check\fR ¤È¤È¤â¤Ë»È¤¦¤È¤¤Ë¤Î¤ßµ¡Ç½¤¹¤ë¡£
103 .\"O Silently exit with a status return code. Warnings or checksum failures are
104 .\"O omitted, and errors from operations such as opening are reading are printed.
105 ɽ¼¨¤òÍÞÀ©¤·¡¢¥¹¥Æ¡¼¥¿¥¹¥³¡¼¥É¤òÊÖ¤·¤Æ½ªÎ»¤¹¤ë¡£
106 ·Ù¹ð¤È¥Á¥§¥Ã¥¯¥µ¥à¤ÎÉÔ°ìÃפϾÊά¤µ¤ì¤ë¤¬¡¢
107 ¥Õ¥¡¥¤¥ë¤Î¥ª¡¼¥×¥ó¤äÆɤ߹þ¤ß¤È¤¤¤Ã¤¿Áàºî¤Ë¤ª¤±¤ë¥¨¥é¡¼¤Ïɽ¼¨¤µ¤ì¤ë¡£
108 .\"O A successful exit code of 0 is only returned is everything is passed and no
109 .\"O errors have ocurred. Otherwise a non-zero value is returned.
110 Àµ¾ï½ªÎ»¥³¡¼¥É 0 ¤Ï¡¢
111 Á´¤Æ¤Î¥Á¥§¥Ã¥¯¤òÄ̲ᤷ¤Æ¥¨¥é¡¼¤¬µ¯¤é¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Î¤ßÊÖ¤µ¤ì¤ë¡£
112 ¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï¡¢0 °Ê³°¤ÎÃͤ¬ÊÖ¤µ¤ì¤ë¡£
115 .\"O Print a usage message on standard output and exit successfully.
116 ɸ½à½ÐÎϤ˻ÈÍÑÊýË¡¤Î¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
119 .\"O Print version information on standard output then exit successfully.
120 ɸ½à½ÐÎϤ˥С¼¥¸¥ç¥ó¾ðÊó¤ò½ÐÎϤ·¤ÆÀµ¾ï½ªÎ»¤¹¤ë¡£
123 .\"O Report bugs to bug-textutils@gnu.org.
124 ¥Ð¥°¤Ï bug-textutils@gnu.org ¤ØÊó¹ð¤·¤Æ¤¯¤À¤µ¤¤¡£
126 .\"O Man page by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
127 ¤³¤Î man ¥Ú¡¼¥¸¤Ï Ragnar Hojland Espinosa
128 <ragnar@ragnar-hojland.com> ¤¬½ñ¤¤¤¿¡£