[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion 1.10.2 Checksum (SHA512)

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 22 Sep 2018 15:36:51 +0000

Daniel Shahaf wrote on Sat, 22 Sep 2018 15:28 +0000:
> Adam Jensen wrote on Sat, 22 Sep 2018 11:12 -0400:
> > On 09/22/2018 10:13 AM, Daniel Shahaf wrote:
> > > One reason for not creating the file in the form "${hash}${two_spaces}${filename}"
> > > is that not everyone uses sha512sum from GNU coreutils. If there were
> > > additional information in the file besides the hash value, people not on
> > > linux would have had to sed it out.
> >
> > apr and apr-util each do it differently. Consequently, the
> > idiosyncrasies of each will need to explored and handled separately.

This will work unmodified for quite a few forms of .sha512 files.

grep -w "$(sha512sum subversion-1.10.2.tar.bz2 | sed -e 's/ .*//')" subversion-1.10.2.tar.bz2.sha512
Received on 2018-09-22 17:36:59 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.