On Mon, 2024-06-24 at 13:40 -0400, Gary Gregory wrote:
> Yes but https://ss64.com/mac/shasum.html
> 
> Says the format is SUM SPACE CHAR FILE
> 
> where CHAR is one of '*', '?', or ' ' depending on the file type.
> 

This is not how I read it and it is hot how it is explained here [1].
The script always uses binary mode and makes no attempts to normalize
line endings. I adjusted the code to insert `*` instead of ` ` to
reflect that.

https://github.com/ok2c/httpcomponents-release-tools/commit/2fe65768a235b226d9940b2422863d4360140334

Oleg


[1]
https://unix.stackexchange.com/questions/127959/md5sum-command-binary-and-text-mode/127961#127961




> Gary 
> 
> On Mon, Jun 24, 2024, 11:40 AM Oleg Kalnichevski <ol...@apache.org>
> wrote:
> > On Mon, 2024-06-24 at 07:38 -0400, Gary Gregory wrote:
> > > Hi Oleg,
> > > 
> > > A bit of googling pointed me to
> > > https://unix.stackexchange.com/questions/23014/is-there-file-format-for-checksums
> > > 
> > > If I edit the sha512 file to contain TWO spaces between the
> > > checksum
> > > and the file name, then it works:
> > > 
> > > shasum --check httpcomponents-client-5.4-beta1-src.zip.sha512
> > > httpcomponents-client-5.4-beta1-src.zip: OK
> > > 
> > 
> > Bizarre. Anyhow, would that fix the problem in the future?
> > 
> > https://github.com/ok2c/httpcomponents-release-tools/commit/5209fb384f8e00e0b1eb52f970b3220cb51af74a
> > 
> > Oleg
> > 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to