Commit Graph

50 Commits

Author SHA1 Message Date
christos cd7f626ab2 bump date 2019-12-15 04:50:28 +00:00
christos a7f52e3116 PR/54768: elo: Missing cksum(1) convenience links (and docs) for new sha2
functions.
2019-12-15 03:55:56 +00:00
wiz 01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
wiz c11d7d47ce New sentence, new line. 2014-08-31 07:23:53 +00:00
christos 94162e221a PR/49134: Kamil Rytarowski: Add -q flag. 2014-08-31 07:05:33 +00:00
njoly d1f2d0ccef Remove unknown \*(tN and \*(sP macros.
ok wiz.
2013-03-28 22:54:25 +00:00
riastradh 360ba4cb54 Omit outdated cryptographic claims as noted in PR 44160.
Interested readers can follow the references or read Wikipedia; this
is the wrong place to explain cryptographic hash functions and give
security advice.
2012-06-25 02:32:12 +00:00
joerg b6d28c7f9d Use plain \* not \\*. Fix trailing whitespace 2010-05-14 01:57:21 +00:00
joerg 7ffbcccbf3 Don't use macros for the synopsis. Improve markup to break argument
groups together by not splitting opening and closing macro over lines.
2009-03-13 10:51:56 +00:00
lukem 0a0b8d1a16 Clean up the usage display to match reality.
Allow 'sum' to take '-a algorithm', so that its usage matches 'cksum'.
Per discussion with Igor Sobrado resulting from PR 39658.
2009-01-02 09:42:51 +00:00
wiz 127e5ecbd6 Bump date for previous. 2006-09-02 23:27:45 +00:00
elad 0b20a6d87c mention we support sha2, pointed out by dieter roelants
okay hubertf
2006-08-25 10:40:25 +00:00
elad 00556c3786 remove -1, -2, -4, -5, -6, -m. 2006-05-05 22:07:22 +00:00
wiz 61152e3f56 Document more explicitly that -c takes an optional file argument. 2006-04-24 22:00:43 +00:00
hubertf 0b4add3077 Allow reading the checksum list from stdin if no file is given with -c.
This allows verifying the checksums e.g. after downloading a NetBSD
release:
		cat BSDSUM CKSUM MD5 SHA512 SYSVSUM | cksum -c
2006-04-24 21:07:43 +00:00
wiz f255a1f958 A fix for HTML output; punctuation nits. 2006-04-23 17:45:04 +00:00
hubertf 944a4820a3 Document -w, too. 2006-04-23 16:48:02 +00:00
hubertf f9e91b57ed Add a switch "-c file" to verify a list of checksums generated by the
cksum program and stored in file against files on disk.  E.g. first
run "md5 *.tgz >MD5" to generate a list of MD5 checksums in MD5, then
use the following command to verify them use "md5 -c MD5"

Inspired by Linux' md5sum,
called for by Jukka Salmi <j+nbsd@2006.salmi.ch>on netbsd-help@,
reviewed by rui@.
2006-04-23 16:40:16 +00:00
wiz 3025498c62 Use correct macro. From YOMURA Masanori in private mail. 2005-09-11 23:11:48 +00:00
wiz 775247d100 Punctuation nits. 2005-09-10 22:14:52 +00:00
elad 3722a15dc3 Add support for SHA2 in cksum. 2005-08-24 19:59:08 +00:00
elad d5f9e57cff Put back in information about the deprecated flags in the man-page. Be
explicit about them being removed, and suggest using the ``-a'' flag.
2005-08-23 15:29:48 +00:00
elad b4df0b712a Note about deprecated flags. 2005-08-22 14:47:55 +00:00
elad 7345c13cbb Add comments about intentionally not documenting the deprecated -1, -2, -4,
-5, -6, and -m flags so they are not mistakenly get documented again in the
future.
2005-08-21 19:33:10 +00:00
elad a7d7292dfa Some changes to cksum:
1. Deprecate the -1, -2, -4, -5, -6, and -m flags. For now, simply remove
   them from the documentation.

2. Add and document ``-a algorithm''.
2005-08-21 18:51:44 +00:00
wiz 5f59441cc8 -p, -s, -t, and -x are mutually exclusive -- make it obvious in
the SYNOPSIS.
2004-07-09 11:47:59 +00:00
simonb 9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wiz 7533801933 End sentence with a dot. 2003-06-26 17:00:55 +00:00
jmmv 59978ac5c6 Fix typo: extra 'a' word in plural sentence. Approved by wiz. 2002-12-26 15:49:37 +00:00
wiz e2a4ec505f Bump date for last. 2002-10-18 22:44:48 +00:00
atatat 9dfabd39b8 Add a -n flag for the hash output forms, so that the output is
"normal", ie, "hash filename" (like all the simple checksum output
forms) as opposed to "hashname (filename) = hash".  This output form
is, imho, somewhat more useful because you can pass it directly to
sort to find identical files.  For example:

	md5 * | sort | uniq -c | grep -v ' 1 '
2002-10-18 20:30:12 +00:00
grant be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz d819f04061 Add sections to xrefs, and remove some unnecessary whitespace while I'm
here.
2001-04-04 09:35:23 +00:00
atatat 61e4caef25 Add MD2, MD4, SHA1, and RMD160 support to cksum. Adding new hashes to
cksum(1) should now be easy.
2001-03-20 18:46:25 +00:00
enami 6868d41699 - Don't overstrike the |.
- Use the default .Ar argument.
2000-07-03 05:27:15 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
mrg 9f84449ae5 add missing .Nm sections. 1997-11-11 14:39:59 +00:00
lukem 76da6c89a7 WARNSify 1997-10-17 11:36:51 +00:00
thorpej 6fac7758e7 Fix typo, per Dave Huang <khym@bga.com>, PR #3345. 1997-03-18 00:40:13 +00:00
thorpej 0941c04d45 Add support for generating MD5 checksums, partially derived from the
FreeBSD md5(1) program.  MD5 checksums may be generated by using the
"-m" flag to cksum, or by invoking this program as "md5".
1997-01-30 01:10:32 +00:00
jtc 3e4b73c5a6 Sync with 4.4lite2 1995-09-02 05:45:13 +00:00
glass 7659edad1f merged with 4.4Lite 1995-03-26 04:55:22 +00:00
mycroft 92702177a0 Add sum(1) alias, per Matt Green. Various other cleanup. Someone should
finish the addition to the HISTORY section.
1995-01-15 06:43:49 +00:00
jtc 656f5d0189 Fix formatting bug: a "1" or "2" argument to -o is manditory. 1994-05-20 06:14:31 +00:00
jtc 5187624c00 Use ".St -p1003.2-92" macro instead of spelling it out. 1993-11-30 00:36:01 +00:00
cgd 19f1d2d611 update to the latest cksum utility from uunet. this one is posix
compliant (i think), and fixes a bogon in the old CRC calculation.
yes, that's right, the CRC's it generates are different.
1993-11-02 07:33:08 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00