Sample Header Ad - 728x90

Echo hash only from shasum

7 votes
5 answers
4293 views
Is there a way to get shasum to _only_ print the hash? I know this can be achieved by piping the output to another program, e.g. shasum something | cut -d' ' -f1 Is there a way to achieve this only using shasum, without having to pipe the result somewhere else?
Asked by Armand (373 rep)
Oct 25, 2017, 08:01 AM
Last activity: Jun 4, 2024, 08:37 PM