[Bug 276915] FreeBSD md5sum doesn't accept '-' as stdin
Date: Fri, 09 Feb 2024 09:34:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276915
Bug ID: 276915
Summary: FreeBSD md5sum doesn't accept '-' as stdin
Product: Base System
Version: 14.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: h2+fbsdports@fsfe.org
GNU md5sum accepts the following with identical semantics:
echo "foo" | md5sum
echo "foo" | md5sum -
FreeBSD md5sum rejects the second, because it looks for a file named "-". This
trips up scripts that rely on the GNU behaviour. Since the FreeBSD md5sum is
meant to be compatible to the GNU counterpart, it would be great if the
behaviour could be changed!
Thank you very much!
--
You are receiving this mail because:
You are the assignee for the bug.