Date: Mon, 26 Sep 2016 15:53:52 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 213007] [patch] sbin/md5/md5.{c,1} make '-c' flag also work with stdin, add '-P' flag to print digest to stderr Message-ID: <bug-213007-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213007 Bug ID: 213007 Summary: [patch] sbin/md5/md5.{c,1} make '-c' flag also work with stdin, add '-P' flag to print digest to stderr Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: marcis.lielturks@gmail.com Keywords: patch Created attachment 175182 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D175182&action= =3Dedit 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 direct= ly, without intermediately storing it on computer. This, however, means that checksum verification was not straight forward. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213007-8>