mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-26 07:55:01 +00:00
b33d1898c1
The previous changes that added support for the coreutils -c option modified the output generated by passing -r to match that of the coreutils versions. The difference is that coreutils separates the hash from the file name by two blanks " " (or a blank followed by an asterisk " *" with the -b option denoting). While most scripts or users will not notice the difference, it might be considered a violation of POLA and this commit reverts the change for the non-sum programs. These will print a single blank " " as the separator, as they die before the previous commit. In order to still generate output that is identical to that of the coreutils programs, this commit generates the " " or " *" separator used by them for the -sum versions, depending on the presence of the -b option. MFC after: 3 days |
||
---|---|---|
.. | ||
tests | ||
Makefile | ||
Makefile.depend | ||
md5.1 | ||
md5.c |