On 04/19/2014 12:51 AM, djcj wrote: > Can you add an option to md5sum that allows one to output only the checksum? > Here's a code example:
Thanks for the patch. However this is one of those marginal cases where it's probably not worth the extra option to do this simple adjustment. At the shell you can do: md5sum < the_file | cut -b1-32 Also if running from another program, one could easily take the start of the output (accounting for leading backslashes). So I'd be 70:30 against adding this. thanks, Pádraig.
