wget https://dl.google.com/go/go1.12.linux-amd64.tar.gz
....
wget https://dl.google.com/go/go1.12.linux-amd64.tar.gz.sha256

cat go1.12.linux-amd64.tar.gz.sha256;echo
750a07fef8579ae4839458701f4df690e0b20b8bcce33b437e4df89c451b6f13

Why not have this content in the sha256sum file?

750a07fef8579ae4839458701f4df690e0b20b8bcce33b437e4df89c451b6f13  
go1.12.linux-amd64.tar.gz
(with formatted line and a line feed [\n] at the end of the line)
 - Windows versions of the sha256 files would need DOS line endings.

This way a downloader can quickly check the download with:
shasum -c go1.12.linux-amd64.tar.gz.sha256

... and get this returned:
go1.12.linux-amd64.tar.gz: OK

This page:
https://golang.org/dl/

You should have linkify the sha256 checksum text to point to the relevant 
sha256 file (appropriately formatted for shasum -c check).

Thanks
A.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to