Skip to main content

All Questions

Tagged with
1 vote
2 answers
2k views

How to transparently substitute sha1sum for shasum in sh shell?

I have a test that needs to run on multiple platforms. On all other platforms, the test uses sha1sum, but on my Mac OSX El Capitan, there is no such program installed, but shasum works fine as a ...
WilliamKF's user avatar
  • 7,968
2 votes
1 answer
5k views

How to get sha1sum to work on Mac OS X?

I have an application that I'm porting and as part of the test suite, I run sha1sum. I'd like to have test code that works on all my platforms and not vary across platforms. Mac OS X, is the first ...
WilliamKF's user avatar
  • 7,968