In response to blip #122366
savageorange said:
cut -d \ -f1 is more succinct than this sed incantation.
And filehash=$(md5sum /tmp/autocheck.json); filehash=${filehash%% *} is more succinct than that, if you don't mind the two stage processing.
(missed the edit window)