Daniel Shahaf wrote on Sat, 22 Sep 2018 14:13 +0000: > Adam Jensen wrote on Sat, 22 Sep 2018 09:39 -0400: > > Given the current situation, can anyone think of a shell script blurb to > > download the files then verify with the hash? > > wget .../subversion-1.10.2.tar.bz2 > wget > https://www.apache.org/dist/subversion/subversion-1.10.2.tar.bz2.sha512 > sha512sum subversion-1.10.2.tar.bz2 | grep -x -- "$(cat < > subversion-1.10.2.tar.bz2.sha512)"
Sorry, change -x to -w. (Or omit it altogether, really.)