Created attachment 175182 [details]
sbin/md5/md5.c patch to apply '-c' to stdin input and add '-P' which outputs digest to stderr
I thought that extending '-c' to also verify digest, if it was passed from STDIN, would be useful and allow using md5 in pipeline. For similar reasons I added option '-P', which resembles '-p', only digest is output to STDERR.
I recently had been writing 11.0-RCx images to USB flash several times, I started to use pipeline, which fetches and writes image to USB flash directly, without intermediately storing it on computer. This, however, means that checksum verification was not straight forward.