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?