Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: basesrc/usr.bin/cksum
Module Name: basesrc
Committed By: atatat
Date: Fri Oct 18 20:30:14 UTC 2002
Modified Files:
basesrc/usr.bin/cksum: cksum.1 cksum.c
Log Message:
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 '
To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 basesrc/usr.bin/cksum/cksum.1
cvs rdiff -r1.16 -r1.17 basesrc/usr.bin/cksum/cksum.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index