On Tue, Dec 20, 2016 at 6:31 PM Pádraig Brady <p...@draigbrady.com> wrote:

> On 20/12/16 22:28, Christopher wrote:
> > What's with the new sources format?
> > The old format, I could do `md5sum -c sources`
> > Why not make the new format with SHA512 follow the same pattern, so I
> could do: `shasum -c sources` or `sha512sum -c sources`?
> >
> > Is there any standard command-line tool to parse this new format, or do
> I just gotta grep/awk/bash my way through it?
>
> As far as I can see it's using the BSD tagged format,
> which the coreutils sha512sum command can parse.
> I.E. the following format is supported since v8.20 (2012-10-23)
>
>   SHA512 (filename) = ...
>
> cheers,
> Pádraig
>

Ah, okay, my mistake. `sha512sum -c sources` works fine. I accidentally ran
`shasum -c sources` twice!

Thanks! I wasn't previously aware of this format being a standard anywhere.
`man sha512sum` has enlightened me :)
-- 
Christopher
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to