diff options
| author | Jack O'Connor <[email protected]> | 2020-05-23 14:29:04 -0400 |
|---|---|---|
| committer | Jack O'Connor <[email protected]> | 2020-05-23 14:37:49 -0400 |
| commit | 7f154ceea33c4c8dcc3719836c89b9a79d39319c (patch) | |
| tree | 508adbbf7a4b21968da8b18b37e46cafb380a15b | |
| parent | cd093791ab44595ea3d59a579af9ceb850db807a (diff) | |
version 0.3.40.3.4
Changes since 0.3.3:
- `b3sum` now supports the `--check` flag. This is intended to be a
drop-in replacement for e.g. `md5sum --check` from Coreutils. The
behavior is somewhat stricter than Coreutils with respect to invalid
Unicode in filenames. For a complete description of how `--check`
works, see the file `b3sum/what_does_check_do.md`.
- To support the `--check` feature, backslashes and newlines that appear
in filenames are now escaped in the output of `b3sum`. This is done
the same way as in Coreutils.
- To support `--check` interoperability between Unix and Windows,
backslashes in filepaths on Windows are now replaced with forward
slashes in the output of `b3sum`. Note that this is different from
Coreutils.
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | b3sum/Cargo.toml | 2 | ||||
| -rw-r--r-- | b3sum/README.md | 7 |
3 files changed, 7 insertions, 4 deletions
@@ -1,6 +1,6 @@ [package] name = "blake3" -version = "0.3.3" +version = "0.3.4" authors = ["Jack O'Connor <[email protected]>"] description = "the BLAKE3 hash function" repository = "https://github.com/BLAKE3-team/BLAKE3" diff --git a/b3sum/Cargo.toml b/b3sum/Cargo.toml index 3b1368c..56ed381 100644 --- a/b3sum/Cargo.toml +++ b/b3sum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "b3sum" -version = "0.3.3" +version = "0.3.4" authors = ["Jack O'Connor <[email protected]>"] description = "a command line implementation of the BLAKE3 hash function" repository = "https://github.com/BLAKE3-team/BLAKE3" diff --git a/b3sum/README.md b/b3sum/README.md index d8bf0c2..5e64650 100644 --- a/b3sum/README.md +++ b/b3sum/README.md @@ -5,7 +5,7 @@ A command line utility for calculating Coreutils tools like `b2sum` or `md5sum`. ``` -b3sum 0.3.3 +b3sum 0.3.4 USAGE: b3sum [FLAGS] [OPTIONS] [file]... @@ -18,6 +18,8 @@ FLAGS: --no-mmap Disables memory mapping. Currently this also disables multithreading. --no-names Omits filenames in the output + --quiet Skips printing OK for each successfully verified file. + Must be used with --check. --raw Writes raw output bytes to stdout, rather than hex. --no-names is implied. In this case, only a single input is allowed. @@ -34,7 +36,8 @@ OPTIONS: RAYON_NUM_THREADS is also respected. ARGS: - <file>... + <file>... Files to hash, or checkfiles to check. When no file is given, + or when - is given, read standard input. ``` See also [this document about how the `--check` flag |
