aboutsummaryrefslogtreecommitdiff
path: root/toys/example
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-12-19 08:58:36 -0800
committerRob Landley <rob@landley.net>2018-12-19 13:50:38 -0600
commit880e41fa961173652b4a414b1e6740f610421a21 (patch)
tree1c11ec1a08611e32a5b43725f584e827c94e2d41 /toys/example
parentb6c12d25bce1c923e44a5c6c897b9e8ffa801e2c (diff)
downloadtoybox-880e41fa961173652b4a414b1e6740f610421a21.tar.gz
md5sum/sha1sum: add --status and --check, fix --check with multiple files.
Annoyingly coreutils and busybox both have the --status functionality, but coreutils only accepts --status and busybox only accepts -s. Although all extant users known to me use --status I've supported both (a) for maximum compatibility and (b) because Rob hates longopts :-) Also, -c/--check don't take argument(s): they alter the interpretation of all the FILE... arguments. I removed a bunch of dead code here, but I couldn't switch us over to loopfiles_lines because I didn't want to regress on the "warn if any check file contains no hashes", and loopfiles_lines doesn't give you any way to recognize that you've moved on to the next file.
Diffstat (limited to 'toys/example')
0 files changed, 0 insertions, 0 deletions