aboutsummaryrefslogtreecommitdiff
path: root/man/b2sum.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/b2sum.1')
-rw-r--r--man/b2sum.193
1 files changed, 93 insertions, 0 deletions
diff --git a/man/b2sum.1 b/man/b2sum.1
new file mode 100644
index 0000000..53ab540
--- /dev/null
+++ b/man/b2sum.1
@@ -0,0 +1,93 @@
+.\" Adapted for BNU from the GNU Coreutils 9.11 manual page; see doc/README.md.
+.TH B2SUM "1" "2026-07-28" "BNU 9.11" "BNU Commands"
+.SH NAME
+b2sum \- compute and check BLAKE2 message digest
+.SH SYNOPSIS
+.B b2sum
+[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
+.SH DESCRIPTION
+.\" This page is derived from GNU Coreutils documentation.
+This page documents BNU, an independent Bun implementation compatible with
+GNU Coreutils 9.11.
+.PP
+Print or check BLAKE2b (512\-bit) checksums.
+Legacy interface to the cksum utility.
+.PP
+With no FILE, or when FILE is \-, read standard input.
+.PP
+Mandatory arguments to long options are mandatory for short options too.
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-b'\fB\-b, \-\-binary\fP\X'tty: link'
+read in binary mode
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-c'\fB\-c, \-\-check\fP\X'tty: link'
+read checksums from the FILEs and check them
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-l'\fB\-l, \-\-length=\,BITS\fP\X'tty: link'\/\fR
+digest length in bits; must not exceed the max size
+and must be a multiple of 8 for blake2b;
+must be 224, 256, 384, or 512 for sha2 or sha3
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--tag'\fB\-\-tag\fP\X'tty: link'
+create a BSD\-style checksum
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-t'\fB\-t, \-\-text\fP\X'tty: link'
+read in text mode (default)
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-z'\fB\-z, \-\-zero\fP\X'tty: link'
+end each output line with NUL, not newline,
+and disable file name escaping
+.SS "The following five options are useful only when verifying checksums:"
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--ignore-missing'\fB\-\-ignore\-missing\fP\X'tty: link'
+don't fail or report status for missing files
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--quiet'\fB\-\-quiet\fP\X'tty: link'
+don't print OK for each successfully verified file
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--status'\fB\-\-status\fP\X'tty: link'
+don't output anything, status code shows success
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum--strict'\fB\-\-strict\fP\X'tty: link'
+exit non\-zero for improperly formatted checksum lines
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#cksum-w'\fB\-w, \-\-warn\fP\X'tty: link'
+warn about improperly formatted checksum lines
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/cksum#cksum--help'\fB\-\-help\fP\X'tty: link'
+display this help and exit
+.TP
+\X'tty: link https://www.gnu.org/software/coreutils/cksum#cksum--version'\fB\-\-version\fP\X'tty: link'
+output version information and exit
+.PP
+The sums are computed as described in RFC 7693.
+When checking, the input should be a former output of this program.
+The default mode is to print a line with: checksum, a space,
+a character indicating input mode ('*' for binary, ' ' for text
+or where binary is insignificant), and name for each FILE.
+.PP
+There is no difference between binary mode and text mode on GNU systems.
+.SH AUTHORS
+Upstream GNU Coreutils documentation authors:
+Written by Padraig Brady and Samuel Neves.
+.br
+Adapted for BNU; the BNU implementation is independent.
+.SH "REPORTING BUGS"
+Report BNU bugs at <https://github.com/Soccera1/bnu/issues>.
+.br
+For upstream GNU Coreutils, see <https://www.gnu.org/software/coreutils/>.
+.SH COPYRIGHT
+Copyright \(co 2026 Free Software Foundation, Inc.
+.br
+This manual page was adapted for BNU in 2026.
+License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
+.br
+This is free software: you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law.
+.SH "SEE ALSO"
+\fBcksum\fP(1)
+.PP
+.br
+Upstream documentation <https://www.gnu.org/software/coreutils/b2sum>
+.br
+BNU documentation is available locally via: info \(aq(bnu) b2sum invocation\(aq