Re: cksum not working with both -a and -C flags together

2017-04-25 Thread Craig Skinner
On Tue, 28 Mar 2017 11:56:19 -0600 "Todd C. Miller" wrote: > On Tue, 28 Mar 2017 09:33:53 -0600, "Todd C. Miller" wrote: > > > It seems to me that in -C mode it should really process all the > > checksums that match the specified file(s), but the documentation > > does not actually specify what

Re: cksum not working with both -a and -C flags together

2017-04-18 Thread Craig Skinner
On 2017-03-28 Tue 11:56 AM |, Todd C. Miller wrote: > On Tue, 28 Mar 2017 09:33:53 -0600, "Todd C. Miller" wrote: > > > It seems to me that in -C mode it should really process all the > > checksums that match the specified file(s), but the documentation > > does not actually specify what the

Re: cksum not working with both -a and -C flags together

2017-03-28 Thread Todd C. Miller
On Tue, 28 Mar 2017 09:33:53 -0600, "Todd C. Miller" wrote: > It seems to me that in -C mode it should really process all the > checksums that match the specified file(s), but the documentation > does not actually specify what the behavior is in this case. Here's a diff that accomplishes that.

Re: cksum not working with both -a and -C flags together

2017-03-28 Thread Todd C. Miller
On Tue, 28 Mar 2017 15:49:24 +0100, Craig Skinner wrote: > When cksum(1) is used with a -C checklist listing multiple algorithms, > and a single -a algorithm is specified, cksum doesn't select the correct > -a [algorithm], nor the correct line in the -C [checklist]: The -a option is only used to